hac/ansible/roles/fail2ban/templates/sshd.conf.j2

8 lines
155 B
Text
Raw Normal View History

2024-03-22 23:47:35 +01:00
[sshd]
enabled = true
bantime = -1
maxretry = 3
backend = systemd
2024-04-17 10:59:47 +02:00
{% if ansible_facts['os_family'] == "RedHat" %}
2024-03-22 23:47:35 +01:00
banaction = firewallcmd-ipset
{% endif %}