diff --git a/tasks/configure.yml b/tasks/configure.yml
index 774c2b714ab49ca067e53dc19e7c154ce13dcc75..cf93f3be66157b01a10f50eb0a10307b8982e795 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"