From a9c3446d3b1b24c559ace839066b670e5e4d346c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de> Date: Mon, 3 Feb 2025 15:02:19 +0100 Subject: [PATCH] fix: use correct syntax to print list of Fail2Ban ignoreips as space separated string --- tasks/configure_fail2ban.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/configure_fail2ban.yml b/tasks/configure_fail2ban.yml index 5f21855..4238daa 100644 --- a/tasks/configure_fail2ban.yml +++ b/tasks/configure_fail2ban.yml @@ -29,7 +29,7 @@ # ignored IPs: localhost, VLAN 20 (DV), sdvgubs10 (IP from multiple # subnets/VLANs), VPN IP ranges - ignoreip = 127.0.0.1/8 {{ vlans }} {{ vault_gubs_ips }} {{ vault_host_greenbone }} + ignoreip = 127.0.0.1/8 {{ vlans | join(" ") }} {{ gubs_ips | join(" ") }} {{ host_greenbone }} # number of failures that have to occur in the last findtime seconds to # ban then IP. -- GitLab