ansible-role-wireguard_client/templates/wireguard_client.conf

10 lines
233 B
Text
Raw Normal View History

2022-10-11 09:19:16 +02:00
[Interface]
Address = {{ addresses[ansible_hostname] }}
PrivateKey = {{ privatekey.stdout }}
ListenPort = {{ listenport }}
# Server:
[Peer]
PublicKey = {{ server_publickey }}
AllowedIPs = {{ allowed_ips }}
EndPoint = {{ endpoint }}