Merge pull request #189 from arthurlogilab/nginx-users-makedirs
[nginx/users] add makedirs to htpasswd deploy
This commit is contained in:
commit
5a7e113a15
@ -12,6 +12,7 @@ touch {{ htauth }}:
|
|||||||
make sure {{ htauth }} exists:
|
make sure {{ htauth }} exists:
|
||||||
file.exists:
|
file.exists:
|
||||||
- name: {{ htauth }}
|
- name: {{ htauth }}
|
||||||
|
- makedirs: True
|
||||||
|
|
||||||
{% for name, user in pillar.get('users', {}).items() %}
|
{% for name, user in pillar.get('users', {}).items() %}
|
||||||
{% if user['webauth'] is defined -%}
|
{% if user['webauth'] is defined -%}
|
||||||
|
Loading…
Reference in New Issue
Block a user