chore: Formatting

This commit is contained in:
Lino Silva
2026-04-01 23:43:17 +01:00
parent 03865d6f16
commit a704133a0b
16 changed files with 99 additions and 29 deletions
+5 -5
View File
@@ -9,19 +9,19 @@
file:
path: /etc/fail2ban/filter.d
state: directory
mode: '0755'
mode: "0755"
- name: Ensure fail2ban jail directory exists
file:
path: /etc/fail2ban/jail.d
state: directory
mode: '0755'
mode: "0755"
- name: Ensure traefik log directory exists
file:
path: /var/log/traefik
state: directory
mode: '0755'
mode: "0755"
owner: root
group: root
@@ -29,7 +29,7 @@
template:
src: "{{ item }}"
dest: "/etc/fail2ban/filter.d/{{ item | basename | regex_replace('\\.j2$', '') }}"
mode: '0644'
mode: "0644"
loop:
- traefik-auth.conf.j2
- traefik-404.conf.j2
@@ -41,7 +41,7 @@
template:
src: jail.local.j2
dest: /etc/fail2ban/jail.d/traefik.local
mode: '0644'
mode: "0644"
notify: Restart fail2ban
- name: Ensure fail2ban is enabled and started