Files
ansible-role-fail2ban/defaults/main.yaml
2025-12-02 22:35:27 -05:00

43 lines
780 B
YAML

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