diff options
author | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-06-09 19:50:23 +0100 |
---|---|---|
committer | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-06-09 19:50:23 +0100 |
commit | 6fa2d5b40514f9bc110ee2a9ff2ef9251fa9fec3 (patch) | |
tree | 0e16fe2dfa3ecd56d783cd44b0e6177c57198e40 /roles/wgvpn/handlers | |
parent | d9090d33d065bcbe186885103120fbc288ad627b (diff) | |
download | infra-6fa2d5b40514f9bc110ee2a9ff2ef9251fa9fec3.tar.gz infra-6fa2d5b40514f9bc110ee2a9ff2ef9251fa9fec3.tar.bz2 infra-6fa2d5b40514f9bc110ee2a9ff2ef9251fa9fec3.zip |
Migrate to restart instead of reload for wgvpn
For the same reason restart is used in wgtor: there are `iptables`
commands in `PostUp` and `PostDown` which are not running on reload.
Diffstat (limited to 'roles/wgvpn/handlers')
-rw-r--r-- | roles/wgvpn/handlers/main.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/wgvpn/handlers/main.yml b/roles/wgvpn/handlers/main.yml index 15cde1e..b3b1085 100644 --- a/roles/wgvpn/handlers/main.yml +++ b/roles/wgvpn/handlers/main.yml @@ -1,7 +1,7 @@ -- name: Reload wgvpn +- name: Restart wgvpn ansible.builtin.service: name: wg-quick@wg1 - state: reloaded + state: restarted - name: Restart systemd-resolved ansible.builtin.service: |