[users] use {{ htauth }} variable

This commit is contained in:
Arthur Lutz 2018-01-24 16:56:43 +01:00 committed by GitHub
parent f3ef626ec4
commit 78ddf90f5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: