diff --git a/deployment/nova/nova-az-config.yaml b/deployment/nova/nova-az-config.yaml index c4ff907502..b923c484f9 100644 --- a/deployment/nova/nova-az-config.yaml +++ b/deployment/nova/nova-az-config.yaml @@ -82,7 +82,7 @@ outputs: os_nova_host_aggregate: name: {get_attr: [NovaComputeAvailabilityZoneValue, value]} availability_zone: {get_attr: [NovaComputeAvailabilityZoneValue, value]} - hosts: "{{ groups['nova_compute'] | default([]) | map('extract', hostvars, 'nova_host') | list }}" + hosts: "{{ groups['nova_compute'] | default([]) | map('extract', hostvars, 'nova_host') | select('defined') | list }}" auth: username: admin password: {get_param: AdminPassword}