Prototype a role for installing fail2ban on RHEL 9+
This commit is contained in:
7
roles/fail2ban_rhel/handlers/main.yml
Normal file
7
roles/fail2ban_rhel/handlers/main.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- name: Restart fail2ban
|
||||
ansible.builtin.systemd:
|
||||
name: fail2ban
|
||||
state: restarted
|
||||
enabled: true
|
||||
daemon_reload: true
|
||||
Reference in New Issue
Block a user