add support to remove users from htpasswd files

This commit is contained in:
nd 2018-11-10 20:53:21 +01:00
parent 22340271b1
commit e50a103a85
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9

View file

@ -8,4 +8,4 @@
owner: "{{ htpasswdfile[passfile].owner|d('root') }}" owner: "{{ htpasswdfile[passfile].owner|d('root') }}"
group: "{{ htpasswdfile[passfile].group|d('www-data') }}" group: "{{ htpasswdfile[passfile].group|d('www-data') }}"
mode: "{{ htpasswdfile[passfile].mode|d('0640') }}" mode: "{{ htpasswdfile[passfile].mode|d('0640') }}"
state: "{{htpasswdfile[passfile].state|d('present') }}" state: "{{ item.state|d('present') }}"