openstack-ansible-os_neutron/tasks/neutron_check.yml
Major Hayden 24b824b15c Add LBaaS v2 support
This patch adds tasks to deploy the LBaaS v2 agent along with
its related service and configuration files. Deployers can
move between LBaaS v1 and v2 at any time. The tasks will ensure
that the correct agent is running based on the deployer's
neutron_plugins_base variable.

Both agents could possibly run simultaneously for a short period
of time, but that will be cleaned up by the tasks in
neutron_lbaas.yml.

This is a re-work of the changes proposed for OSA in
change I1c9c43582c99ebd1fb7bacb6545bcad34a692880.

Co-Authored-By: Bjoern Teipel <bjoern.teipel@rackspace.com>

Closes-bug: 1541130

Change-Id: I00b41634816a1f7f1dfb31fcc6f35050c8d223a4
2016-03-03 15:38:34 -06:00

24 lines
859 B
YAML

---
# Copyright 2016, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- name: Ensure LBaaS v1 and v2 are not enabled simultaneously
fail:
message: |
LBaaS v1 and v2 cannot be enabled at the same time.
Verify that your neutron_plugin_base variable is correct.
when:
- neutron_lbaas | bool
- neutron_lbaasv2 | bool