From e74ddcadf4eba71c2b46b42e2afdf13adbdddbcb Mon Sep 17 00:00:00 2001 From: Andy McCrae Date: Mon, 14 Nov 2016 17:30:24 +0000 Subject: [PATCH] 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 --- tasks/tempest_resources.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/tempest_resources.yml b/tasks/tempest_resources.yml index a32b50f9..6cf8d8a1 100644 --- a/tasks/tempest_resources.yml +++ b/tasks/tempest_resources.yml @@ -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: