Remove f2b gateway bouncer

To be replaced by something more sensible
This commit is contained in:
Jake Howard
2024-07-14 22:27:58 +01:00
parent 43051235bd
commit 393a947cb7
18 changed files with 0 additions and 168 deletions

View File

@ -1,32 +0,0 @@
- name: Create jail
template:
src: files/fail2ban/traefik-jail.conf
dest: /etc/fail2ban/jail.d/traefik.conf
mode: "644"
become: true
notify: restart fail2ban
- name: Create filter
template:
src: files/fail2ban/traefik-filter.conf
dest: /etc/fail2ban/filter.d/traefik.conf
mode: "644"
become: true
notify: restart fail2ban
- name: Create action
template:
src: files/fail2ban/remote-action.conf
dest: /etc/fail2ban/action.d/gateway.conf
mode: "644"
become: true
notify: restart fail2ban
- name: Create SSH key
copy:
src: files/fail2ban/f2b_key.key
dest: /etc/fail2ban/f2b_key.key
owner: root
group: root
mode: "0600"
become: true

View File

@ -100,14 +100,3 @@
notify: restart traefik
when: traefik_provider_uptime_kuma
become: true
- name: logrotate config
template:
src: files/logrotate.conf
dest: /etc/logrotate.d/traefik
mode: "0600"
become: true
- name: fail2ban
include_tasks: fail2ban.yml
when: with_fail2ban