diff options
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' |