mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-05 01:20:18 +01:00
Fixing DEPRECATION WARNING
TASK [rade333.apache : Add htpasswd configuration.] **************************** [DEPRECATION WARNING]: Using bare variables is deprecated. Update your playbooks so that the environment value uses the full variable syntax ('{{apache_htpasswd}}'). This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
This commit is contained in:
parent
05a8674169
commit
c6dfb88edc
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
|||
|
||||
- name: Add htpasswd configuration.
|
||||
htpasswd: path={{ item.file }} name={{ item.username }} password={{ item.password }} state=present
|
||||
with_items: apache_htpasswd
|
||||
with_items: "{{ apache_htpasswd }}"
|
||||
when: apache_htpasswd
|
||||
|
||||
- name: Add apache vhosts configuration.
|
||||
|
|
Loading…
Reference in a new issue