Refs #8025 Role debian-base: Fail2ban task add register to do last step when jail.local changes
This commit is contained in:
parent
d141bc8a75
commit
6e0d940cc0
|
@ -10,6 +10,7 @@
|
|||
group: root
|
||||
mode: u=rw,g=r,o=r
|
||||
notify: restart fail2ban
|
||||
register: jail
|
||||
- name: Ensure file for auth sshd custom log exists
|
||||
file:
|
||||
path: /var/log/auth.log
|
||||
|
@ -17,3 +18,4 @@
|
|||
owner: root
|
||||
group: adm
|
||||
mode: u=rw,g=r,o=
|
||||
when: jail.changed
|
||||
|
|
Loading…
Reference in New Issue