From b4d50166f42abaca41c1cc5b88fea430d73c3ff1 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 28 Jul 2021 23:46:53 +0300 Subject: [PATCH] roles/common: Fix loop in firewall cleanup --- roles/common/tasks/firewall_Ubuntu_cleanup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/common/tasks/firewall_Ubuntu_cleanup.yml b/roles/common/tasks/firewall_Ubuntu_cleanup.yml index 8bc6629..35e1375 100644 --- a/roles/common/tasks/firewall_Ubuntu_cleanup.yml +++ b/roles/common/tasks/firewall_Ubuntu_cleanup.yml @@ -27,7 +27,7 @@ systemd: name=update-spamhaus-lists.timer state=stopped enabled=no - name: Remove old Spamhaus firewalld update script and systemd units - file: dest=/usr/local/bin/update-spamhaus-lists.sh state=absent + file: dest={{ item }} state=absent loop: - /usr/local/bin/update-spamhaus-lists.sh - /etc/systemd/system/update-spamhaus-lists.service