diff options
Diffstat (limited to 'roles/hysteria/handlers')
| -rw-r--r-- | roles/hysteria/handlers/main.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/hysteria/handlers/main.yaml b/roles/hysteria/handlers/main.yaml new file mode 100644 index 00000000..d4227c5e --- /dev/null +++ b/roles/hysteria/handlers/main.yaml @@ -0,0 +1,11 @@ +--- +- name: restart_hysteria + ansible.builtin.service: + name: hysteria + state: restarted + enabled: true + +- name: remove_hysteria_tempdir + ansible.builtin.file: + path: "{{ hysteria_tempdir.path }}" + state: absent |
