diff options
author | heqnx <root@heqnx.com> | 2025-05-25 11:50:46 +0300 |
---|---|---|
committer | heqnx <root@heqnx.com> | 2025-05-25 11:50:46 +0300 |
commit | 7c8ed923df3c02338dfbf826fd6fd9a23dac502e (patch) | |
tree | 929ee32e5a6f32e952bb8fcad33f704a371af9ff /sliver-c2/handlers/main.yaml | |
parent | e905a6a60ceb43ef2bfa8f0f61c23630955caf1f (diff) | |
download | ansible-playbooks-7c8ed923df3c02338dfbf826fd6fd9a23dac502e.tar.gz ansible-playbooks-7c8ed923df3c02338dfbf826fd6fd9a23dac502e.zip |
moved unorganized playbooks into old folder
Diffstat (limited to 'sliver-c2/handlers/main.yaml')
-rw-r--r-- | sliver-c2/handlers/main.yaml | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/sliver-c2/handlers/main.yaml b/sliver-c2/handlers/main.yaml deleted file mode 100644 index 0987034..0000000 --- a/sliver-c2/handlers/main.yaml +++ /dev/null @@ -1,30 +0,0 @@ -- name: update grub - command: update-grub - -- name: reload fail2ban - command: fail2ban-client reload - -- name: reload systemd - command: systemctl daemon-reload - when: ansible_facts['service_mgr'] == 'systemd' - -- name: restart ssh - systemd: - name: ssh - state: restarted - enabled: true - when: ansible_facts['service_mgr'] == 'systemd' - -- name: restart fail2ban - systemd: - name: fail2ban - state: restarted - enabled: true - when: ansible_facts['service_mgr'] == 'systemd' - -- name: sliver systemd handler - systemd: - name: sliver - state: restarted - enabled: true - when: ansible_facts['service_mgr'] == 'systemd' |