# {{ ansible_managed }} [Interface] Address = {{ item.addrs | join(",") }} PrivateKey = {{ item.private_key }} ListenPort = {{ item.listen_port }} {% for peer in item.peers %} [Peer] PublicKey = {{ peer.public_key }} AllowedIps = {{ peer.allowed_addrs | join(",") }} {% endfor %}