aboutsummaryrefslogtreecommitdiffstats
path: root/roles/wireguard/tasks/server.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/wireguard/tasks/server.yml')
-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.