From c1fe8d9551e337031e5a5d62224779b389872ea3 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 30 Aug 2018 13:50:32 +0200 Subject: o Adjusting fail2ban. --- ansible/roles/knot-misc/handlers/fail2ban.yml | 4 ++++ ansible/roles/knot-misc/handlers/main.yml | 1 + 2 files changed, 5 insertions(+) create mode 100644 ansible/roles/knot-misc/handlers/fail2ban.yml create mode 100644 ansible/roles/knot-misc/handlers/main.yml (limited to 'ansible/roles/knot-misc/handlers') diff --git a/ansible/roles/knot-misc/handlers/fail2ban.yml b/ansible/roles/knot-misc/handlers/fail2ban.yml new file mode 100644 index 0000000..8340622 --- /dev/null +++ b/ansible/roles/knot-misc/handlers/fail2ban.yml @@ -0,0 +1,4 @@ +- name: restart fail2ban + service: + name: fail2ban + state: reloaded diff --git a/ansible/roles/knot-misc/handlers/main.yml b/ansible/roles/knot-misc/handlers/main.yml new file mode 100644 index 0000000..b4a5aca --- /dev/null +++ b/ansible/roles/knot-misc/handlers/main.yml @@ -0,0 +1 @@ +- include: fail2ban.yml -- cgit v1.2.3