aboutsummaryrefslogtreecommitdiff
path: root/attackbox/handlers/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'attackbox/handlers/main.yaml')
-rw-r--r--attackbox/handlers/main.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/attackbox/handlers/main.yaml b/attackbox/handlers/main.yaml
index 1e18521..dfb2e24 100644
--- a/attackbox/handlers/main.yaml
+++ b/attackbox/handlers/main.yaml
@@ -1,6 +1,9 @@
- name: update grub
command: update-grub
+- name: reload fail2ban
+ command: fail2ban-client reload
+
- name: restart ssh
systemd:
name: ssh
@@ -15,9 +18,6 @@
enabled: true
when: ansible_facts['service_mgr'] == 'systemd'
-- name: reload fail2ban
- command: fail2ban-client reload
-
- name: restart tor
systemd:
name: tor