openstack-ansible/inventory/group_vars/nova_all.yml
Dmitriy Rabotyagov e8912ecd68 Cleanup group_vars
In this patch we're trying to sync up *_service_region and *_package_state
variables for services. We also cleanup service uri variables when they
are not used anywhere, since we're setting them to defaults which is not
necessary and at the same time unexpected for deployers.

Change-Id: Ia676393168cde3cbe8e37fb419ec54c551ec862e
2020-12-08 16:16:32 +02:00

64 lines
2.6 KiB
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.
nova_console_type: novnc
nova_console_agent_enabled: "{{ ansible_architecture != 'aarch64' }}"
nova_novncproxy_port: 6080
nova_spice_html5proxy_base_port: 6082
nova_serialconsoleproxy_port: 6083
nova_consoles:
spice:
port: "{{ nova_spice_html5proxy_base_port }}"
path: "/spice_auto.html"
novnc:
port: "{{ nova_novncproxy_port }}"
path: "/vnc.html"
serial:
port: "{{ nova_serialconsoleproxy_port }}"
path: "/"
nova_console_port: "{{ nova_consoles[nova_console_type]['port'] }}"
nova_console_path: "{{ nova_consoles[nova_console_type]['path'] }}"
# These are here rather than in nova_all because
# both the os_ceilometer and os_nova roles require them
# If there are any Designate hosts in the environment, then enable its usage
nova_designate_enabled: "{{ (groups['designate_all'] is defined) and (groups['designate_all'] | length > 0) }}"
# If there are any Ceilometer hosts in the environment, then enable its usage
nova_ceilometer_enabled: "{{ (groups['ceilometer_all'] is defined) and (groups['ceilometer_all'] | length > 0) }}"
# If there are any Barbican hosts in the environment, then enable its usage
nova_barbican_enabled: "{{ hostvars['localhost']['nova_barbican_enabled'] }}"
nova_external_ssl: "{{ openstack_external_ssl }}"
nova_ceph_client_uuid: '{{ cinder_ceph_client_uuid | default() }}'
nova_dhcp_domain: "{{ dhcp_domain }}"
nova_service_in_ldap: "{{ service_ldap_backend_enabled }}"
# Ensure that the package state matches the global setting
nova_package_state: "{{ package_state }}"
# The system user for all nova services
nova_system_user_name: nova
# TODO: (andymccr) remove this once https://review.openstack.org/#/c/428120/ merges
nova_reserved_host_disk_mb: 0
# If there are any Designate hosts in the environment, then enable its usage
neutron_designate_enabled: "{{ hostvars['localhost']['neutron_designate_enabled'] }}"
# If there are any Ceilometer hosts in the environment, then enable its usage
neutron_ceilometer_enabled: "{{ hostvars['localhost']['neutron_ceilometer_enabled'] }}"