aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-05-25 08:20:01 +0300
committerheqnx <root@heqnx.com>2025-05-25 08:20:01 +0300
commitbcd55b16115ed51075686a68402134680ac80ae9 (patch)
treefcccb8b8e81a025d60515d5e157d0b3c560a81aa
parent5a69b990f2965211efb7bc941593da0d144749db (diff)
downloadansible-playbooks-bcd55b16115ed51075686a68402134680ac80ae9.tar.gz
ansible-playbooks-bcd55b16115ed51075686a68402134680ac80ae9.zip
order
-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