Make sure networks_skip_config defaults to []
The ansible network configs does a check if network is in networks_skip_config. When networks_skip_config is not defined in the role data it get's defined as 'null' in the Ansible inventory. Default it to an empty list when creating the GroupVars so that it's always of type: List in the inventory. Change-Id: I0c09118b947aeee9b011e7d0ec23ab99af3680af Closes-Bug: #1904808
This commit is contained in:
parent
8d9871d01c
commit
c8c9855678
|
@ -1042,7 +1042,7 @@ resources:
|
|||
tripleo_network_config_template: {get_param: {{role.name}}NetworkConfigTemplate}
|
||||
tripleo_network_config_with_ansible: {get_param: NetworkConfigWithAnsible}
|
||||
default_route_networks: {{role.default_route_networks}}
|
||||
networks_skip_config: {{role.networks_skip_config }}
|
||||
networks_skip_config: {{ role.networks_skip_config|default([]) }}
|
||||
role_tags: {{role.tags}}
|
||||
|
||||
{{role.name}}NetworkConfig:
|
||||
|
|
Loading…
Reference in New Issue