openstack-ansible/inventory/group_vars/gnocchi_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

29 lines
1.1 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.
gnocchi_ssl_external: "{{ openstack_external_ssl }}"
gnocchi_service_region: "{{ service_region }}"
# Ensure that the package state matches the global setting
gnocchi_package_state: "{{ package_state }}"
# Ensure that keystone authentication is enabled for gnocchi
gnocchi_keystone_auth: "{{ (groups['keystone_all'] is defined) and (groups['keystone_all'] | length > 0) }}"
# Gnocchi default list of bind mounts
gnocchi_container_bind_mounts:
- bind_dir_path: "/var/lib/gnocchi"
mount_path: "/openstack/{{ inventory_hostname }}"