Don't look for primary_role ips in AllNodesValidationConfig
We changed the AllNodesValidationConfig to be role specific. However, we still use primary_role_name ips. Change-Id: I0aa1174992f6f049f1e64faea6d88e377d357bad Closes-Bug: #1817087
This commit is contained in:
parent
6f73f44a28
commit
95362173c2
@ -919,12 +919,12 @@ resources:
|
||||
- ' '
|
||||
- - yaql:
|
||||
expression: coalesce($.data, []).first(null)
|
||||
data: {get_attr: [{{primary_role_name}}, ip_address]}
|
||||
data: {get_attr: [{{role.name}}, ip_address]}
|
||||
{%- for network in networks %}
|
||||
{%- if network.enabled|default(true) and network.name in role.networks|default([]) %}
|
||||
- yaql:
|
||||
expression: coalesce($.data, []).first(null)
|
||||
data: {get_attr: [{{primary_role_name}}, {{network.name_lower}}_ip_address]}
|
||||
data: {get_attr: [{{role.name}}, {{network.name_lower}}_ip_address]}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- endfor %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user