X-Git-Url: https://git.phdru.name/?p=ansible.git;a=blobdiff_plain;f=playbooks%2Froles%2Fdebian%2Ffirewall%2Ftasks%2Fmain.yaml;fp=playbooks%2Froles%2Fdebian%2Ffirewall%2Ftasks%2Fmain.yaml;h=6288e3d4cd17a3c91d2c3df95208b59d5448d072;hp=b266fbb90add07b0ce9b9f13034bc294f3664ab8;hb=119883da0314743983a0c4ce7c5ecb7892aa18a6;hpb=24b4c0f6b026fa857f8f58a8f66dc75204f55104 diff --git a/playbooks/roles/debian/firewall/tasks/main.yaml b/playbooks/roles/debian/firewall/tasks/main.yaml index b266fbb..6288e3d 100644 --- a/playbooks/roles/debian/firewall/tasks/main.yaml +++ b/playbooks/roles/debian/firewall/tasks/main.yaml @@ -52,3 +52,7 @@ file: path: /etc/init.d/iptables.sh state: absent + +- name: Prevent fail2ban from autostarting + become: true + command: update-rc.d fail2ban remove