openstack-ansible/inventory/group_vars/all/glance.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

28 lines
1.3 KiB
YAML

---
# Copyright 2017, 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.
# This var is used by glance and ironic
glance_service_user_name: glance
glance_service_port: 9292
glance_service_internaluri_proto: "{{ openstack_service_internaluri_proto | default(glance_service_proto | default('http')) }}"
glance_service_internaluri: "{{ glance_service_internaluri_proto }}://{{ internal_lb_vip_address }}:{{ glance_service_port }}"
glance_service_internalurl: "{{ glance_service_internaluri }}"
# When running RBD or horizon image upload mode is direct allow multiple locations.
# See https://bugs.launchpad.net/openstack-ansible/+bug/1730722 for more on the
# this topic.
glance_show_multiple_locations: "{{ (glance_default_store == 'rbd') or (horizon_images_upload_mode == 'direct') }}"