Refs #8025: Refactorizacion-AWX-Debian-Base_Fail2ban_to_noise

This commit is contained in:
Xavi Lleó 2025-01-02 10:47:08 +01:00
parent 6aa1a0de3d
commit 7484cd174a
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,3 @@
[Definition]
actionstart =
actionstop =

View File

@ -13,6 +13,14 @@
group: root
mode: u=rw,g=r,o=r
notify: restart sshd
- name: Adjust action configuration to reduce noise
copy:
src: sendmail-common.local
dest: /etc/fail2ban/action.d/sendmail-common.local
owner: root
group: root
mode: u=rw,g=r,o=r
notify: restart sshd
- name: Configure fail2ban service
template:
src: jail.local