From d789af60733745a0c33944eb74dfd95bd9864e01 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Thu, 25 Feb 2016 17:38:17 +0100
Subject: [PATCH] Remove deprecation warnings from Ansible 2.0.1.0

---
 tasks/configure.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tasks/configure.yml b/tasks/configure.yml
index 774c2b7..cf93f3b 100644
--- a/tasks/configure.yml
+++ b/tasks/configure.yml
@@ -4,7 +4,7 @@
 - name: "Proxy | Install SSL certificates"
   copy: src={{inventory_dir}}/files/ssl/{{item}}
         dest=/etc/haproxy/certs
-  with_items: proxy_certificates
+  with_items: '{{ proxy_certificates }}'
   notify: 'Proxy | Restart HAProxy'
 
 - name: "Proxy | Create host lists"
@@ -14,7 +14,7 @@
             group=root
             mode=644
   when: scope == 'all'
-  with_items: groups['all']
+  with_items: '{{ groups.all }}'
   notify: 'Proxy | Restart HAProxy'
 
 - name: "Proxy | Create host ssl lists"
@@ -24,7 +24,7 @@
             group=root
             mode=644
   when: scope == 'all'
-  with_items: groups['all']
+  with_items: '{{ groups.all }}'
   notify: 'Proxy | Restart HAProxy'
 
 - name: "Proxy | Create empty crm lists files"
@@ -34,7 +34,7 @@
         mode=644
         state=touch
   when: scope == 'all'
-  with_items: groups['all']
+  with_items: '{{ groups.all }}'
   notify: 'Proxy | Restart HAProxy'
 
 - name: "Proxy | Create config file"
-- 
GitLab