Fix fail2ban backend
This commit is contained in:
parent
9ed1ddfc97
commit
b7c5c87319
1 changed files with 1 additions and 1 deletions
|
@ -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 %}
|
Loading…
Reference in a new issue