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