diff options
| author | heqnx <root@heqnx.com> | 2025-05-25 08:20:01 +0300 | 
|---|---|---|
| committer | heqnx <root@heqnx.com> | 2025-05-25 08:20:01 +0300 | 
| commit | bcd55b16115ed51075686a68402134680ac80ae9 (patch) | |
| tree | fcccb8b8e81a025d60515d5e157d0b3c560a81aa /attackbox/handlers | |
| parent | 5a69b990f2965211efb7bc941593da0d144749db (diff) | |
| download | ansible-playbooks-bcd55b16115ed51075686a68402134680ac80ae9.tar.gz ansible-playbooks-bcd55b16115ed51075686a68402134680ac80ae9.zip | |
order
Diffstat (limited to 'attackbox/handlers')
| -rw-r--r-- | attackbox/handlers/main.yaml | 6 | 
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 |