Browse Source

[users] use {{ htauth }} variable

tags/v0.55.0
Arthur Lutz 7 years ago
parent
commit
78ddf90f5b
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      nginx/users.sls

+ 2
- 2
nginx/users.sls View File

@@ -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…
Cancel
Save