fabric: fix a template
This worked. Updated ansible. Then it didn’t.
This commit is contained in:
parent
14d2e00f0b
commit
5032d1ac84
|
@ -46,7 +46,7 @@ iface {{ iface.name }}
|
|||
{% if iface.count_fhrp_groups > 0 %}
|
||||
{% set fhrp_assignment = fhrp_assignments | selectattr('interface.id', '==', iface.id) | first %}
|
||||
{% set fhrp_group = fhrp_groups | selectattr('id', '==', fhrp_assignment.group.id) | first %}
|
||||
address-virtual 00:00:5e:00:01:01 {{ fhrp_group.ip_addresses | sort(attribute='family') | map(attribute='address') | join(' ') }}
|
||||
address-virtual 00:00:5e:00:01:01 {{ fhrp_group.ip_addresses | sort(attribute='family.value') | map(attribute='address') | join(' ') }}
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue