initial upload
This commit is contained in:
6
roles/firewall/templates/rules-v4.d/95_fail2ban.sh.j2
Normal file
6
roles/firewall/templates/rules-v4.d/95_fail2ban.sh.j2
Normal file
@@ -0,0 +1,6 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
# Restart fail2ban
|
||||
if systemctl -q is-active fail2ban.service; then
|
||||
systemctl try-restart fail2ban.service
|
||||
fi
|
||||
Reference in New Issue
Block a user