This commit is contained in:
Hrankin, Aleksandr (contracted)
2026-02-20 05:40:53 +00:00
commit 696c1adf74
191 changed files with 6183 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
---
- name: validate fail2ban config
listen: "validate and restart fail2ban"
become: true
ansible.builtin.command: fail2ban-client -t
register: f2b_validate
changed_when: false
- name: restart fail2ban
listen: "validate and restart fail2ban"
become: true
ansible.builtin.systemd:
name: fail2ban
state: restarted