Fix fail2ban backend

This commit is contained in:
Ada 2024-04-17 10:59:47 +02:00
parent 9ed1ddfc97
commit b7c5c87319
Signed by: ada
GPG key ID: 6A7F898157C6DE6E

View file

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