Initial role commit
This commit is contained in:
42
defaults/main.yaml
Normal file
42
defaults/main.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
fail2ban_dependencies:
|
||||
- fail2ban
|
||||
- python3-systemd
|
||||
|
||||
fail2ban_service: fail2ban
|
||||
|
||||
fail2ban_loglevel: INFO
|
||||
fail2ban_logtarget: /var/log/fail2ban.log
|
||||
|
||||
fail2ban_ignoreself: "true"
|
||||
fail2ban_ignoreips:
|
||||
- 127.0.0.1/8
|
||||
- ::1
|
||||
|
||||
fail2ban_bantime: 10m
|
||||
fail2ban_findtime: 10m
|
||||
fail2ban_maxretry: 5
|
||||
fail2ban_backend: auto
|
||||
|
||||
fail2ban_configuration: []
|
||||
# - option: loglevel
|
||||
# value: "INFO"
|
||||
# section: Definition
|
||||
|
||||
fail2ban_jail_configuration: []
|
||||
# - option: ignoreself
|
||||
# value: "true"
|
||||
# section: DEFAULT
|
||||
|
||||
fail2ban_default_debian_jail_configuration: []
|
||||
# - option: backend
|
||||
# value: systemd
|
||||
# section: sshd
|
||||
|
||||
fail2ban_jails:
|
||||
# - name: recidive
|
||||
# enabled: true
|
||||
# maxretry: 3
|
||||
# findtime: 1w
|
||||
# bantime: 30d
|
||||
# banaction: ufw
|
||||
# logpath = /var/log/fail2ban.log
|
||||
Reference in New Issue
Block a user