diff options
author | binary <me@rgoncalves.se> | 2021-03-17 21:11:49 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-03-17 21:11:49 +0100 |
commit | e4eb3bce26a9fe5cd4bc0f5e94398a31dc8d656a (patch) | |
tree | 4c1a6cfbb5af719b37f8b3ef6ef25a7191f38404 /roles | |
parent | edfeb6401af135348ddd38518a27be3e8ec51f6a (diff) | |
download | infrastructure-e4eb3bce26a9fe5cd4bc0f5e94398a31dc8d656a.tar.gz |
Add time between destruction and creation of iface
Diffstat (limited to 'roles')
-rw-r--r-- | roles/wireguard/tasks/server.yml | 1 |
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 |