f6a61909f0
As part of cleaning inventory variables, we are moving some of the variables to be created in roles instead of the inventory, and removing variables used only to create other variables and nowhere else. Change-Id: I8dfd1904de36ca2b9f163bd5447bfa40ddf4ca3a Depends-On: I9a00e3bd5dca4581cb43bf298c4d792375b5252f Depends-On: Icc0606ed948e3596d037b9159602e7b7b06311d8 Depends-On: I983a20d923384bf54cb0af924ec0a0f8ef4db191
41 lines
1.8 KiB
YAML
41 lines
1.8 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_publicurl: "{{ openstack_service_publicuri_proto }}://{{ external_lb_vip_address }}:9292"
|
|
glance_service_internalurl: "{{ openstack_service_internaluri_proto }}://{{ internal_lb_vip_address }}:9292"
|
|
glance_service_adminurl: "{{ openstack_service_adminuri_proto }}://{{ internal_lb_vip_address }}:9292"
|
|
|
|
# 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_image_upload_mode == 'direct') }}"
|
|
|
|
# Define the default required cors to allow image uploads through horizon
|
|
_cors_overrides:
|
|
cors:
|
|
# LP bug 1680062
|
|
allow_headers: >-
|
|
origin,content-md5,x-image-meta-checksum,x-storage-token,accept-encoding,
|
|
x-auth-token,x-identity-status,x-roles,x-service-catalog,x-user-id,
|
|
x-tenant-id,x-openstack-request-id
|
|
allowed_origin: "{{ external_lb_vip_address }}"
|
|
allow_methods: "GET,POST,PUT,PATCH,DELETE"
|
|
|
|
# Default glance API
|
|
glance_glance_api_conf_overrides: "{{ (glance_show_multiple_locations | bool) | ternary(_cors_overrides, {}) }}"
|