openstack-ansible/playbooks/defaults/distro_install.yml
James Denton 3fca345f54 Set defaults for octavia-ovn-provider driver
This patch is the first of two required to implement the
octavia-ovn-provider driver for Octavia. By setting a default for
neutron_bin we can use the path in logic for installing the ovn
provider driver.

Change-Id: Ia700de4e03f8f238bfa5ee6183cb07aa2fdd83fe
2022-12-28 21:28:10 -06:00

38 lines
1.5 KiB
YAML

---
# Copyright 2018, SUSE LINUX GmbH.
#
# 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.
#
# Use $role_install_method=distro so we can test the combined
# result. We add all the os_* roles here even though some of them
# may not have been converted to support the dual installation method.
#
# NOTE(hwoarang): We need to define the various $role_bin variables because
# some playbooks in this repository are explicitly using them to perform
# post deployment actions such as the playbooks/os-{cinder,keystone,nova}-install.yml
# playbooks.
#
keystone_bin: /usr/bin
cinder_bin: /usr/bin
nova_bin: /usr/bin
neutron_bin: /usr/bin
## Delegate all database setup tasks to the utility host, and use the utility venv python interpreter
openstack_db_setup_host: "{{ groups['utility_all'][0] }}"
openstack_db_setup_python_interpreter: "{{ ansible_facts['python']['executable'] }}"
openstack_service_setup_host: "{{ groups['utility_all'][0] }}"
openstack_service_setup_host_python_interpreter: "/usr/bin/python3"