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
{% if ansible_facts['os_family'] == "RedHat" %}
backend = systemd
banaction = firewallcmd-ipset
{% endif %}