roles/rhel-network: Add static route support

This commit is contained in:
2018-03-23 12:48:49 -05:00
parent a7ac6c586d
commit 51acc08d3c
4 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
{% extends "route-base.j2" %}
{% block routes %}
{% for route in item.routes|d([]) if ':' not in route.prefix %}
{{ ip_route(route, item.ifname) }}
{% endfor %}
{% endblock routes %}