From 119883da0314743983a0c4ce7c5ecb7892aa18a6 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 16 Oct 2023 18:21:27 +0300 Subject: [PATCH] Feat(firewall): Prevent `fail2ban` from autostarting --- playbooks/roles/debian/firewall/tasks/main.yaml | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5