mirror of
https://github.com/pikami/mail-server.git
synced 2025-02-15 16:57:39 +00:00
13 lines
285 B
Django/Jinja
13 lines
285 B
Django/Jinja
# {{ ansible_managed }}
|
|
[Interface]
|
|
PrivateKey = {{ wireguard.private_key }}
|
|
ListenPort = {{ wireguard.port }}
|
|
|
|
{% for peer in wireguard.peers %}
|
|
[Peer]
|
|
# {{ peer.name }}
|
|
PublicKey = {{ peer.public_key }}
|
|
Endpoint = {{ peer.endpoint }}
|
|
AllowedIPs = {{ peer.allowed_ips }}
|
|
{% endfor %}
|