From: Oleg Broytman Date: Mon, 16 Oct 2023 15:21:27 +0000 (+0300) Subject: Feat(firewall): Prevent `fail2ban` from autostarting X-Git-Url: https://git.phdru.name/?p=ansible.git;a=commitdiff_plain;h=119883da0314743983a0c4ce7c5ecb7892aa18a6 Feat(firewall): Prevent `fail2ban` from autostarting --- 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