From 8ccefaf0045948635431bd7d9b5872440b452e85 Mon Sep 17 00:00:00 2001 From: rubenb Date: Thu, 19 Oct 2023 12:14:13 +0200 Subject: [PATCH] add vars --- linux/base-config-debian/config-fail2ban.yaml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/linux/base-config-debian/config-fail2ban.yaml b/linux/base-config-debian/config-fail2ban.yaml index a16ba4d..4eb6589 100644 --- a/linux/base-config-debian/config-fail2ban.yaml +++ b/linux/base-config-debian/config-fail2ban.yaml @@ -6,7 +6,7 @@ gather_facts: yes tasks: - + - name: set variables set_fact: bantime: "10m" @@ -34,15 +34,3 @@ import_role: name: config-fail2ban - #In this template: - - #{{ bantime }}, {{ maxretry }}, and {{ findtime }} represent the global default values for these settings. - #For each jail, you can specify various options including: - #{{ jail.name }}: The name of the jail. - #{{ jail.enabled }}: Whether the jail is enabled or not. - #{{ jail.filter }}: The filter for the jail. - #{{ jail.logpath }}: The log file path that Fail2Ban should monitor. - #{{ jail.port | join(' ') }}: The port(s) to monitor. - #{{ jail.maxretry }}: The maximum number of retries before banning. - #{{ jail.bantime }}: The ban time for this jail. - #{{ jail.findtime }}: The time window for counting retries.