Fix operator precedence issue in controller network list

This commit is contained in:
Mark Goddard 2017-10-20 18:38:22 +00:00
parent ba6d30c10a
commit db618c6c85

View File

@ -13,8 +13,8 @@ controller_bootstrap_user: "{{ lookup('env', 'USER') }}"
controller_network_interfaces: >
{{ (controller_default_network_interfaces +
controller_extra_network_interfaces +
controller_network_host_network_interfaces
if inventory_hostname in groups['network'] else []) | unique | list }}
(controller_network_host_network_interfaces
if inventory_hostname in groups['network'] else [])) | unique | list }}
# List of default networks to which controller nodes are attached.
controller_default_network_interfaces: >