From 1b025437b7acfe6d76db8bc75ae0c991a7ec15d8 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Fri, 21 Oct 2022 10:05:06 +0300 Subject: [PATCH] fix loops --- tasks/configure_apache.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/configure_apache.yml b/tasks/configure_apache.yml index 2a3f097..bab8018 100644 --- a/tasks/configure_apache.yml +++ b/tasks/configure_apache.yml @@ -5,7 +5,7 @@ src: templates/apache_vhost.j2 mode: 0644 backup: yes - loop: vhosts + loop: "{{ vhosts }}" - name: Create auth user file htpasswd: @@ -21,5 +21,5 @@ state: link src: "/etc/apache2/sites-available/25-{{ item.vhost_name }}.conf" path: "/etc/apache2/sites-enabled/25-{{ item.vhost_name }}.conf" - loop: vhosts + loop: "{{ vhosts }}" notify: Restart Apache2 \ No newline at end of file