blob: 4597b1a3f5df223214301817d653f4cc12f25017 [file] [log] [blame]
# ============LICENSE_START=======================================================
# Copyright (C) 2019 The Nordix Foundation. All rights reserved.
# ================================================================================
# 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.
#
# SPDX-License-Identifier: Apache-2.0
# ============LICENSE_END=========================================================
node_custom_config: "{{ config_path }}"
kolla_base_distro: "{{ os_distro }}"
kolla_install_type: "{{ os_kolla_install_type }}"
openstack_release: "{{ openstack_version }}"
kolla_internal_vip_address: "{{ os_kolla_internal_vip_address }}"
kolla_external_vip_address: "{{ os_kolla_external_vip_address | default(omit) }}"
kolla_external_vip_interface: "{{ os_kolla_external_vip_interface | default(omit) }}"
# TODO: The below options should be moved to scenario specifications
# in infra/swconfig repository
# ha specific options
enable_haproxy: "no"
# cinder specific options
enable_cinder: "yes"
enable_cinder_backup: "yes"
enable_cinder_backend_lvm: "{{ (cinder_storage_driver == 'lvm') | ternary('yes','no') }}"
enable_ceph: "{{ (cinder_storage_driver == 'ceph') | ternary('yes','no') }}"
cinder_backup_driver: "{{ cinder_storage_backup_driver }}"
cinder_backup_share: "{{ os_kolla_internal_vip_address }}:{{ cinder_backup_path }}"
# ceph specific options
# See: https://docs.ceph.com/docs/mimic/rados/operations/placement-groups/#a-preselection-of-pg-num
ceph_pool_pg_num: 32
ceph_pool_pgp_num: 32
# Nova compute virt_type is set in inventory
nova_compute_virt_type: "{{ (lookup('env', 'BAREMETAL') == 'true') | ternary('kvm','qemu') }}"
# Provider networks allow to connect compute instances directly to physical
# networks avoiding tunnels. This is necessary for example for some performance
# critical applications.
enable_neutron_provider_networks: "yes"
# Configuration for offline deployments
{% if execution_mode == "offline-deployment" %}
# Point to local docker registry
docker_registry: {{ docker_registry }}
docker_registry_insecure: "no"
# Manage docker installation ourselves in offline mode
enable_docker_repo: "false"
{% endif %}
# vim: set ts=2 sw=2 expandtab: