From 10fcf1a5cf53c005d6be30220ffe219bf1c15f69 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 13 Oct 2022 16:59:52 +0200 Subject: [PATCH] Fix the filter. --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 268d6f9..e5a15ad 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -5,7 +5,7 @@ when: ansible_distribution_file_variety == "RedHat" - import_tasks: nginx-config.yml - import_tasks: nginx-virtualhosts.yml - when: nginx_virtualhosts | empty + when: nginx_virtualhosts | length - import_tasks: robots-txt.yml - import_tasks: nginx-logrotate.yml - import_tasks: nginx-letsencrypt.yml