Merge pull request '8025-Refactorizacion-AWX-Debian-Base_Fail2ban_to_noise' (!45) from 8025-Refactorizacion-AWX-Debian-Base_Fail2ban_to_noise into main

Reviewed-on: #45
Reviewed-by: Juan Ferrer <juan@verdnatura.es>
This commit is contained in:
Juan Ferrer 2025-01-13 05:36:54 +00:00
commit b46e3652d7
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