Only store neutron facts if neutron is enabled
The neutron_networks variable won't exist if neutron isn't enabled for tempest. This causes issues for services (such as ceilometer) that don't use tempest with neutron. Change-Id: If601c321599ac513824df831774c85cef6b8b9bb
This commit is contained in:
@@ -198,6 +198,7 @@
|
||||
- name: Store neutron public network id
|
||||
set_fact:
|
||||
tempest_neutron_public_network_id: "{{ tempest_service_available_neutron | ternary(neutron_networks.public.id, '') }}"
|
||||
when: tempest_service_available_neutron | bool
|
||||
|
||||
- name: Ensure private subnet exists
|
||||
os_subnet:
|
||||
|
||||
Reference in New Issue
Block a user