innernet-playbook/roles/server/templates/peers.j2

4 lines
117 B
Django/Jinja

{% for peer in peers %}
- {"cidr": {{ peer.cidr }}, "name": {{ peer.name }}, "admin": {{ peer.admin }}}
{% endfor %}