Remove assumption that the neutron_lbaas var is set

This removes the upgrade assumption that the neutron_lbaas is set.
In many cases this variable will be undefined and we need to cater
to that possibility.

Change-Id: Ib011c2be2eb64ccf0a6d2ba0ad50b034a6694dbc
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter
2016-09-12 10:06:06 -05:00
committed by Jesse Pretorius (odyssey4me)
parent 4205048c44
commit e7f37f9f71

View File

@@ -20,6 +20,8 @@
- name: Checking if neutron_lbaas variable exists
fail:
msg: |
LBaaS v1 isn't supported in Newton. Please read:
http://docs.openstack.org/developer/openstack-ansible/install-guide/configure-network-services.html#load-balancing-service-optional
when: neutron_lbaas | bool
LBaaS v1 has been removed from OpenStack in Newton and there is no migration path for it.
Please implement LBaaS v2.
http://docs.openstack.org/developer/openstack-ansible-os_neutron/configure-network-services.html#special-notes-about-lbaas
when:
- neutron_lbaas is defined and neutron_lbaas | bool