30dacdf8af
Currently each service requires a var to be set to enable the configuration of ceilometer for the service. This patch makes this setting dynamic based on whether there are any hosts in the ceilometer_all host group. This reduces the amount of configuration required for an environment, making OSA simpler to use. The 'rabbitmq_servers' group_var was previously a list of 'host:port' combinations. It is now only a set of hosts. The new 'transport_url' configuration option for oslo_messaging is not working with SSL enabled, so SSL transport for RabbitMQ has been temporarily disabled. Change-Id: Ia5ba4e26b9adcfd923a93c6ea5077cbec0c4478d
21 lines
888 B
YAML
21 lines
888 B
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.
|
|
|
|
swift_service_region: "{{ service_region }}"
|
|
swift_service_in_ldap: "{{ service_ldap_backend_enabled }}"
|
|
|
|
# If there are any Ceilometer hosts in the environment, then enable its usage
|
|
swift_ceilometer_enabled: "{{ (groups['ceilometer_all'] is defined) and (groups['ceilometer_all'] | length > 0) }}"
|