8025-Refactorizacion-AWX-Debian-Base_Fail2ban_to_noise #45
|
@ -0,0 +1,3 @@
|
|||
[Definition]
|
||||
actionstart =
|
||||
actionstop =
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue