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

8 lines
155 B
Plaintext
Raw Normal View History

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