forked from extern/innernet-playbook
add templates to improve decalarativeness
This commit is contained in:
parent
4eab5c852f
commit
8b238e121c
3
roles/server/templates/cidrs.j2
Normal file
3
roles/server/templates/cidrs.j2
Normal file
@ -0,0 +1,3 @@
|
||||
{% for cidr in cidrs %}
|
||||
- {"parent": {{ cidr.parent }}, "name": {{ cidr.name }}, "cidr": {{ cidr.cidr }}}
|
||||
{% endfor %}
|
3
roles/server/templates/peers.j2
Normal file
3
roles/server/templates/peers.j2
Normal file
@ -0,0 +1,3 @@
|
||||
{% for peer in peers %}
|
||||
- {"cidr": {{ peer.cidr }}, "name": {{ peer.name }}, "admin": {{ peer.admin }}}
|
||||
{% endfor %}
|
Loading…
Reference in New Issue
Block a user