From 0e9600248dd20d30c1917e7aafe03d2a4dfb7221 Mon Sep 17 00:00:00 2001 From: Pluto Date: Mon, 2 Feb 2026 13:17:27 -0600 Subject: [PATCH] Add ignore_errors for fail2ban in check mode (service not yet installed) --- roles/common/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index ed07ba5..126dc75 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -50,6 +50,7 @@ name: fail2ban state: started enabled: true + ignore_errors: "{{ ansible_check_mode }}" tags: [common, security] - name: Set vm.swappiness