aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles')
-rw-r--r--ansible/roles/wireguard/tasks/main.yml2
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'