diff options
Diffstat (limited to 'roles/tor/handlers/main.yaml')
-rw-r--r-- | roles/tor/handlers/main.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/tor/handlers/main.yaml b/roles/tor/handlers/main.yaml new file mode 100644 index 0000000..8903ad6 --- /dev/null +++ b/roles/tor/handlers/main.yaml @@ -0,0 +1,6 @@ +- name: restart tor + systemd: + name: tor + state: restarted + enabled: true + when: ansible_facts['service_mgr'] == 'systemd' |