diff options
Diffstat (limited to 'roles/vm/guest/network/templates/interfaces/multihomed-base.j2')
-rw-r--r-- | roles/vm/guest/network/templates/interfaces/multihomed-base.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/vm/guest/network/templates/interfaces/multihomed-base.j2 b/roles/vm/guest/network/templates/interfaces/multihomed-base.j2 index 3420dcf0..7ee46cd1 100644 --- a/roles/vm/guest/network/templates/interfaces/multihomed-base.j2 +++ b/roles/vm/guest/network/templates/interfaces/multihomed-base.j2 @@ -1,5 +1,5 @@ - address {{ interface.address | ipaddr('address') }} - netmask {{ interface.address | ipaddr('netmask') }} + address {{ interface.address | ansible.utils.ipaddr('address') }} + netmask {{ interface.address | ansible.utils.ipaddr('netmask') }} {% for route in interface.static_routes | default([]) %} up /bin/ip route add {{ route.destination }} via {{ route.gateway }}{% if 'source' in route %} src {{ route.source }}{% endif %}{% if 'table' in route %} table {{ route.table }}{% endif %}{{ '' }} {% endfor %} |