diff options
Diffstat (limited to 'roles/wgtor/handlers')
-rw-r--r-- | roles/wgtor/handlers/main.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/wgtor/handlers/main.yml b/roles/wgtor/handlers/main.yml new file mode 100644 index 0000000..9f1d3c5 --- /dev/null +++ b/roles/wgtor/handlers/main.yml @@ -0,0 +1,7 @@ +# Use restart instead of reload, because reload uses `wg syncconf` under the +# hood, which only updates config, but do not run `PostUp` and `PostDown` +# hooks. +- name: Restart wgtor + ansible.builtin.service: + name: wg-quick@wg2 + state: restarted |