roles/common: rework fail2ban again

Actually, we do want to run fail2ban on all hosts because the sshd
monitoring via systemd is nice. At the very least it reduces spam
from failed logins in our systemd journal.
This commit is contained in:
2023-08-23 22:14:16 +03:00
parent 067adcd9f5
commit 7a9a24ef5d
4 changed files with 1 additions and 8 deletions

View File

@ -25,4 +25,3 @@
ansible.builtin.systemd:
name: fail2ban
state: restarted
when: webserver is defined and webserver == 'nginx'