Skip to content

Commit 78ddf90

Browse files
authored
[users] use {{ htauth }} variable
1 parent f3ef626 commit 78ddf90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nginx/users.sls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ htpasswd:
55
pkg.installed:
66
- name: {{ nginx.apache_utils }}
77
8-
touch /etc/nginx/.htpasswd:
8+
touch {{ htauth }}:
99
cmd.run:
10-
- creates: /etc/nginx/.htpasswd
10+
- creates: {{ htauth }}
1111
1212
make sure {{ htauth }} exists:
1313
file.exists:

0 commit comments

Comments
 (0)