From c6dfb88edcd36175d35290b6e3e1be31539555af Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Sun, 12 Jun 2016 08:03:07 +0300 Subject: [PATCH] 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. --- tasks/configure-Debian.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/configure-Debian.yml b/tasks/configure-Debian.yml index 8728747..676099b 100644 --- a/tasks/configure-Debian.yml +++ b/tasks/configure-Debian.yml @@ -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.