aboutsummaryrefslogtreecommitdiffstats
path: root/roles/wireguard/tasks
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2021-03-17 21:11:49 +0100
committerbinary <me@rgoncalves.se>2021-03-17 21:11:49 +0100
commite4eb3bce26a9fe5cd4bc0f5e94398a31dc8d656a (patch)
tree4c1a6cfbb5af719b37f8b3ef6ef25a7191f38404 /roles/wireguard/tasks
parentedfeb6401af135348ddd38518a27be3e8ec51f6a (diff)
downloadinfrastructure-e4eb3bce26a9fe5cd4bc0f5e94398a31dc8d656a.tar.gz
Add time between destruction and creation of iface
Diffstat (limited to 'roles/wireguard/tasks')
-rw-r--r--roles/wireguard/tasks/server.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/wireguard/tasks/server.yml b/roles/wireguard/tasks/server.yml
index aac9197..32d52fc 100644
--- a/roles/wireguard/tasks/server.yml
+++ b/roles/wireguard/tasks/server.yml
@@ -23,6 +23,7 @@
- name: restart wireguard interface
shell: |
ifconfig tun0 destroy
+ sleep 2
sh /etc/netstart tun0
register: result
remember that computers suck.