blob: b6a01b89385b21353f2e9c67344d0a12ec833ac6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
[Interface]
Address = {{ wireguard_ip }}/24
ListenPort = {{ network.wireguard.port }}
PrivateKey = {{ privatekey }}
DNS = {{ network.dns }}
[Peer]
PublicKey = {{ hostvars[groups['cloud'][0]]['ansible_local']['wireguard']['PublicKey'] }}
AllowedIPs = 0.0.0.0/0
Endpoint = {{ hostvars[groups['cloud'][0]]['ansible_default_ipv4']['address'] }}:{{ network.wireguard.port }}
PersistentKeepalive = 15
|