Add Fail2ban to Gitea and Bitwarden

This commit is contained in:
2022-05-28 02:31:41 -04:00
parent eccd6b7874
commit b52ccabd22
8 changed files with 63 additions and 1 deletions

View File

@@ -78,6 +78,12 @@
register: bitwarden_systemd
notify: rebuild_bitwarden
- name: Install Bitwarden's Fail2ban jail
template:
src: fail2ban-jail.conf.j2
dest: /etc/fail2ban/jail.d/bitwarden.conf
notify: restart_fail2ban
- name: Reload systemd manager configuration
systemd:
daemon_reload: true