9 lines
242 B
YAML
9 lines
242 B
YAML
- name: set user and pw
|
|
with_items: "{{ htpasswdfile[passfile].users }}"
|
|
htpasswd:
|
|
path: "{{ htpasswdfile[passfile].path }}"
|
|
name: "{{ item.name }}"
|
|
password: "{{ item.pw }}"
|
|
owner: root
|
|
group: www-data
|
|
mode: 0640
|