From bcc31e0abc2f44971420dac39a0274ea9a9df74d Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sun, 9 Jun 2024 19:37:44 +0100 Subject: Add wgtor role for Tor middlebox --- roles/wgtor/handlers/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 roles/wgtor/handlers/main.yml (limited to 'roles/wgtor/handlers') 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 -- cgit v1.2.3-70-g09d2