diff options
Diffstat (limited to 'tnet/wg-links.yml')
-rw-r--r-- | tnet/wg-links.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tnet/wg-links.yml b/tnet/wg-links.yml new file mode 100644 index 0000000..a050547 --- /dev/null +++ b/tnet/wg-links.yml @@ -0,0 +1,12 @@ +- name: Install Wireguard links + hosts: tnet + tasks: + - loop: "{{ tnet_wg|default([])|dict2items }}" + include_tasks: wg-links-link.yml + handlers: + # Has to be restart for now, hash doesn't support reloading networkd + - name: systemctl restart systemd-networkd + become: yes + systemd: + name: systemd-networkd + state: restarted |