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