openstack-ansible-os_neutron/tasks/main.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

37 lines
1.1 KiB
YAML

---
# Copyright 2014, 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.
- include: neutron_check.yml
- include: neutron_pre_install.yml
- include: neutron_install.yml
- include: neutron_post_install.yml
- include: neutron_upstart_init.yml
- include: neutron_lbaas.yml
- include: neutron_db_setup.yml
when: >
inventory_hostname == groups[neutron_services['neutron-server']['group']][0]
- include: neutron_service_setup.yml
when: >
inventory_hostname == groups['neutron_all'][0]
- include: neutron_l3_ha.yml
when: >
inventory_hostname in groups[neutron_services['neutron-l3-agent']['group']]
- name: Flush handlers
meta: flush_handlers