Initial commit

This commit is contained in:
nd 2018-09-12 04:16:33 +02:00
commit f727f839e9
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
3 changed files with 24 additions and 0 deletions

9
tasks/htpasswdfile.yml Normal file
View file

@ -0,0 +1,9 @@
- 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