From 23c42474b77a1ae868812aeafb4e10dccfe5125e Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Sat, 27 Feb 2021 08:55:18 +0100 Subject: [PATCH] docroot is not always set. --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 394e2e7..efc46aa 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -109,7 +109,7 @@ mode: "0755" loop: "{{ httpd_vhosts }}" loop_control: - label: "{{ item.docroot }}" + label: "{{ item.name }}" when: - httpd_vhosts is defined - item.documentroot is defined