[nginx/users] add makedirs to htpasswd deploy
This commit is contained in:
parent
1db6ddeb66
commit
28d1069617
@ -8,6 +8,7 @@ htpasswd:
|
|||||||
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