Change location of ipaddr filter
ipaddr filter has been moved from netcommon to utils collection [1]
Based on that we must add that collection to requirements.
[1] db4920ebf6
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/831525
Change-Id: Iac92e247d209d848c82f625c190c200cdc05a67a
This commit is contained in:
parent
3d60b5eee2
commit
d62daa24f9
@ -37,7 +37,7 @@ Metric={{ 20 + loop.index }}
|
||||
{% if _addr.address == 'dhcp' %}
|
||||
DHCP=yes
|
||||
{% else %}
|
||||
{% set _addr_cidr = (_addr.address ~ '/' ~ _addr.netmask | default('')).rstrip('/') | ipaddr('host') %}
|
||||
{% set _addr_cidr = (_addr.address ~ '/' ~ _addr.netmask | default('')).rstrip('/') | ansible.utils.ipaddr('host') %}
|
||||
Address={{ _addr_cidr }}
|
||||
{% endif %}
|
||||
{% if _addr.gateway is defined %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user