Refs #8025 Rol debian-base. Task fail2ban jinga template.

This commit is contained in:
Xavi Lleó 2024-10-10 14:47:43 +02:00
parent 06cc6fa26b
commit e195130241
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@ fail2ban:
bantime: 600
maxretry: 4
ignore: "127.0.0.0/8 {{ dc_net }}"
logpath: "/var/log/auth.log"
fail2ban_base_packages:
- fail2ban
- rsyslog

View File

@ -17,4 +17,4 @@ action = %(action_)s
enabled = true
port = 0:65535
filter = sshd
logpath = %(sshd_log)s
logpath = {{ fail2ban.logpath }}