ansible-role-wireguard_client/templates/wireguard_client.conf

10 lines
No EOL
233 B
Text

[Interface]
Address = {{ addresses[ansible_hostname] }}
PrivateKey = {{ privatekey.stdout }}
ListenPort = {{ listenport }}
# Server:
[Peer]
PublicKey = {{ server_publickey }}
AllowedIPs = {{ allowed_ips }}
EndPoint = {{ endpoint }}