From 48d28ea3174cc05119b3d906bd1dc68077a1b16b Mon Sep 17 00:00:00 2001 From: Antoine Ouvrard Date: Fri, 3 Apr 2020 20:51:16 +0200 Subject: ajout du firewall et fail2ban --- roles/common/handlers/main.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 roles/common/handlers/main.yml (limited to 'roles/common/handlers') diff --git a/roles/common/handlers/main.yml b/roles/common/handlers/main.yml new file mode 100644 index 0000000..5ab8a34 --- /dev/null +++ b/roles/common/handlers/main.yml @@ -0,0 +1,13 @@ +--- +- name: restart fail2ban + systemd: + name: fail2ban + state: restarted + daemon_reload: true + enabled: true + +- name: reload nftables + systemd: + name: nftables + state: reload + enabled: true -- cgit v1.2.3