diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-01-02 15:08:16 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-01-02 15:08:16 +0100 |
commit | 5e94eb31c5baafb6a2c0498b92b91c00164d7c5a (patch) | |
tree | ec5521db31aadd0bb4687cd38b54e1c2330be83f /ansible/roles/wireguard | |
parent | 62ff27b05167118c4fa9b5b6b39300041acf80da (diff) | |
download | infra-5e94eb31c5baafb6a2c0498b92b91c00164d7c5a.tar.gz infra-5e94eb31c5baafb6a2c0498b92b91c00164d7c5a.tar.bz2 infra-5e94eb31c5baafb6a2c0498b92b91c00164d7c5a.tar.xz infra-5e94eb31c5baafb6a2c0498b92b91c00164d7c5a.zip |
wireguard: Fixing persistent keepalive.
Diffstat (limited to 'ansible/roles/wireguard')
-rw-r--r-- | ansible/roles/wireguard/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/wireguard/tasks/main.yml b/ansible/roles/wireguard/tasks/main.yml index 9d87c5b..510492d 100644 --- a/ansible/roles/wireguard/tasks/main.yml +++ b/ansible/roles/wireguard/tasks/main.yml @@ -54,13 +54,13 @@ [WireGuard] PrivateKey={{ wg_private_key['content'] | b64decode }} - PersistentKeepalive=60 [WireGuardPeer] PublicKey={{ lookup('file', wireguard__server.ansible_hostname + '/etc/wireguard/public.key') }} AllowedIPs=0.0.0.0/0 AllowedIPs=::/0 Endpoint={{ wireguard__server.hostname }}:{{ wireguard__listen_port }} + PersistentKeepalive=60 - name: Make /etc/systemd/network/60-wg-XXX.netdev (Server) when: wireguard__role == 'server' |