Remove f2b gateway bouncer
To be replaced by something more sensible
This commit is contained in:
@ -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
|
@ -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
|
||||
|
Reference in New Issue
Block a user