summaryrefslogtreecommitdiff
path: root/roles/wgnet/handlers/main.yml
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2024-05-19 17:02:45 +0100
committerDmitry Ilvokhin <d@ilvokhin.com>2024-05-19 17:02:45 +0100
commitb4a12dbbf4a4759bf24975ca9bfc5096c90ae8b6 (patch)
tree48bc7a65415aa039c22575cf3c3919b5a4cea0f5 /roles/wgnet/handlers/main.yml
parent588e86b33df631382027862ed06bfd11e989e01b (diff)
downloadinfra-b4a12dbbf4a4759bf24975ca9bfc5096c90ae8b6.tar.gz
infra-b4a12dbbf4a4759bf24975ca9bfc5096c90ae8b6.tar.bz2
infra-b4a12dbbf4a4759bf24975ca9bfc5096c90ae8b6.zip
Wireguard overlay network setup
Need to migrate away from networkd, because it can't add new wireguard peers now out of the box without hacks. [1]: https://github.com/systemd/systemd/issues/25547
Diffstat (limited to 'roles/wgnet/handlers/main.yml')
-rw-r--r--roles/wgnet/handlers/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/wgnet/handlers/main.yml b/roles/wgnet/handlers/main.yml
new file mode 100644
index 0000000..21c5377
--- /dev/null
+++ b/roles/wgnet/handlers/main.yml
@@ -0,0 +1,2 @@
+- name: Reload network
+ ansible.builtin.command: networkctl reload