openstack-ansible-lxc_conta.../templates/suse-routes.j2
Markos Chandras ce700c1fad Add SUSE support
Add support for SUSE based distributions. We also update the bindep.txt,
run_tests.sh, tests-repo-clone.sh and Vagrantfile files from the
openstack-ansible-tests repository.

Change-Id: I9ac018ac1a94dac74a2ef213dccedf95b4272134
2017-05-15 14:04:42 +01:00

8 lines
186 B
Django/Jinja

{% if item.value.gateway is defined %}
default {{ item.value.gateway }}
{%- endif %}
{% for route in item.value.static_routes %}
{{ route['cidr'] }} {{ route['gateway'] }}
{% endfor %}