fail2forward
This commit is contained in:
@@ -36,9 +36,15 @@
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
notify: Restart fail2ban
|
||||
|
||||
handlers:
|
||||
- name: Copy forward.conf
|
||||
ansible.builtin.template:
|
||||
src: forward.conf.j2
|
||||
dest: /etc/fail2ban/action.d/forward.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
|
||||
- name: Restart fail2ban
|
||||
ansible.builtin.service:
|
||||
name: fail2ban
|
||||
|
||||
Reference in New Issue
Block a user