hac/ansible/roles/fail2ban/templates/sshd.conf.j2
Ada 5d1011ed41
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add alma linux template generation
2024-03-22 23:47:35 +01:00

8 lines
No EOL
155 B
Django/Jinja
Executable file

[sshd]
enabled = true
bantime = -1
maxretry = 3
{% if ansible_facts['os_family'] == "RedHat" %}
backend = systemd
banaction = firewallcmd-ipset
{% endif %}