From 47880e2ee4a54443aea4e18f4459043eca2c0793 Mon Sep 17 00:00:00 2001 From: Amal Varghese Date: Wed, 12 Feb 2020 18:17:40 +0530 Subject: [PATCH] Update main.yml --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index b317d5b..f1e0143 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -13,7 +13,7 @@ - name: 'Build up the frontends' template: src=frontend.cfg dest=/etc/haproxy/frontends.d/{{ item.name }}.cfg - with_items: haproxy_frontends + with_items: " {{ haproxy_frontends }} " when: haproxy_frontends is defined - name: 'Create directory for the backends' @@ -24,7 +24,7 @@ - name: 'Build up the backends' template: src=backend.cfg dest=/etc/haproxy/backends.d/{{ item.name }}.cfg - with_items: haproxy_backends + with_items: " {{ haproxy_backends }} " when: haproxy_backends is defined - name: 'Create the compiled folder'