aboutsummaryrefslogtreecommitdiff
path: root/old/attackbox/handlers
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-05-25 20:42:06 +0300
committerheqnx <root@heqnx.com>2025-05-25 20:42:06 +0300
commit419478997ce7d61d56ffbfb0d0148784b1e7727c (patch)
treea1f3d94cb7fe4afe45a0ef523ed07b91a7be9b95 /old/attackbox/handlers
parent4929a0915888290faaac4f9ae972091c6b383b90 (diff)
downloadansible-playbooks-419478997ce7d61d56ffbfb0d0148784b1e7727c.tar.gz
ansible-playbooks-419478997ce7d61d56ffbfb0d0148784b1e7727c.zip
removing old dir
Diffstat (limited to 'old/attackbox/handlers')
-rw-r--r--old/attackbox/handlers/main.yaml49
1 files changed, 0 insertions, 49 deletions
diff --git a/old/attackbox/handlers/main.yaml b/old/attackbox/handlers/main.yaml
deleted file mode 100644
index d0c15e9..0000000
--- a/old/attackbox/handlers/main.yaml
+++ /dev/null
@@ -1,49 +0,0 @@
-- name: update grub
- command: update-grub
-
-- name: reload fail2ban
- command: fail2ban-client reload
-
-- name: enable ufw
- ufw:
- state: enabled
- policy: deny
-
-- name: restart ufw
- systemd:
- name: ufw
- state: restarted
- enabled: true
- when: ansible_facts['service_mgr'] == 'systemd'
-
-- 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: enable unattended-upgrades service
- systemd:
- name: unattended-upgrades
- 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: restart tor
- systemd:
- name: tor
- state: restarted
- enabled: true
- when: ansible_facts['service_mgr'] == 'systemd'