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