This commit is contained in:
Ruben Blanco 2023-10-19 11:27:49 +02:00
parent 9680320f4e
commit 4af7af9643
1 changed files with 19 additions and 19 deletions

View File

@ -11,33 +11,33 @@
import_role:
name: config-fail2ban
vars:
bantime: 10m
maxretry: 10
findtime: 10m
bantime: '10m'
maxretry: '10'
findtime: '10m'
jail.name:
- sshd
- dns
- 'sshd'
- 'dns'
jail.enabled:
- true
- true
- 'true'
- 'true'
jail.filter:
- sshd
- asterisk
- 'sshd'
- 'asterisk'
jail.logpath:
- /var/log/lastlog
- /var/log/asterisk/messages
- '/var/log/lastlog'
- '/var/log/asterisk/messages'
jail.port:
- 22
- 5060
- '22'
- '5060'
jail.maxretry:
- 10
- 10
- '10'
- '10'
jail.bantime:
- 10m
- 10m
- '10m'
- '10m'
jail.findtime:
- 10m
- 10m
- '10m'
- '10m'
#In this template: