roles/common: Fix loop in firewall cleanup

This commit is contained in:
Alan Orth 2021-07-28 23:46:53 +03:00
parent c336b217c5
commit b4d50166f4
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -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