[users] use {{ htauth }} variable
This commit is contained in:
parent
f3ef626ec4
commit
78ddf90f5b
@ -5,9 +5,9 @@ htpasswd:
|
||||
pkg.installed:
|
||||
- name: {{ nginx.apache_utils }}
|
||||
|
||||
touch /etc/nginx/.htpasswd:
|
||||
touch {{ htauth }}:
|
||||
cmd.run:
|
||||
- creates: /etc/nginx/.htpasswd
|
||||
- creates: {{ htauth }}
|
||||
|
||||
make sure {{ htauth }} exists:
|
||||
file.exists:
|
||||
|
Loading…
Reference in New Issue
Block a user