openstack-ansible-os_neutron/meta/main.yml
2017-12-06 09:43:36 +00:00

64 lines
1.9 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.
galaxy_info:
author: rcbops
description: Installation and setup of neutron
company: Rackspace
license: Apache2
min_ansible_version: 2.2
platforms:
- name: Ubuntu
versions:
- xenial
- name: EL
versions:
- 7
- name: opensuse
versions:
- 42.1
- 42.2
- 42.3
categories:
- cloud
- python
- neutron
- development
- openstack
dependencies:
- role: apt_package_pinning
apt_pinned_packages: "{{ ovs_nsh_support | ternary(ovs_nsh_apt_pinned_packages, omit) }}"
when:
- ansible_pkg_mgr == 'apt'
- galera_client
- openstack_openrc
- role: etcd
etcd_install_type: proxy
when:
- "neutron_plugin_type in ['ml2.calico', 'ml2.dragonflow']"
- "group_names | intersect([
neutron_services['calico-dhcp-agent']['group'],
neutron_services['calico-felix']['group'],
neutron_services['dragonflow-controller-agent']['group'],
neutron_services['neutron-server']['group']
]) | length > 0"
- role: opendaylight
install_method: "{{ opendaylight_install_method }}"
extra_features: "{{ opendaylight_extra_features }}"
nb_rest_port: "{{ opendaylight_port | default('8180') }}"
when:
- neutron_plugin_type == "ml2.opendaylight"
- "'opendaylight' in group_names"