diff options
author | heqnx <root@heqnx.com> | 2025-05-24 15:03:05 +0300 |
---|---|---|
committer | heqnx <root@heqnx.com> | 2025-05-24 15:03:05 +0300 |
commit | fe8725f518d9a9ca0e47c1638605a98bdb72140c (patch) | |
tree | 7eeb8faf0f661a2c5b2cbfe4eee56fbe4d674ff2 /attackbox/tasks/handlers.yaml | |
parent | 356adb1e7924274a25c3b1ec48cc2a6d07f56cc4 (diff) | |
download | ansible-playbooks-fe8725f518d9a9ca0e47c1638605a98bdb72140c.tar.gz ansible-playbooks-fe8725f518d9a9ca0e47c1638605a98bdb72140c.zip |
added tor installer
Diffstat (limited to 'attackbox/tasks/handlers.yaml')
-rw-r--r-- | attackbox/tasks/handlers.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/attackbox/tasks/handlers.yaml b/attackbox/tasks/handlers.yaml new file mode 100644 index 0000000..540554f --- /dev/null +++ b/attackbox/tasks/handlers.yaml @@ -0,0 +1,8 @@ +- name: update grub + command: update-grub + +- name: restart tor + systemd: + name: tor + state: restarted + when: ansible_facts['service_mgr'] == 'systemd' |