Add fail2ban role and clean up yaml lint noise

This commit is contained in:
2026-08-08 23:50:32 -05:00
parent 9b837dd780
commit 6c7ecfc724
352 changed files with 4632 additions and 4186 deletions
@@ -0,0 +1,16 @@
---
# vars file for ensure_fail2ban
package_list:
- name: fail2ban-all
state: present
service_list:
- name: fail2ban
state: started
enabled: true
template_list:
- dest: /etc/fail2ban/jail.d/99-custom_jails.conf
src: '{{ ansible_facts["distribution"] }}/{{ ansible_facts["distribution_major_version"]
}}/etc/fail2ban/jail.d/99-custom_jails.conf.j2'
owner: root
group: root
mode: '0644'