openstack-ansible-os_gnocchi/vars/redhat.yml

35 lines
1.2 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.
#: Necessary packages
gnocchi_devel_distro_packages:
- '@Development Tools'
- git
- librados2-devel
- postgresql-devel
- "{{ ansible_distribution_major_version is version('8', '<') | ternary('python-devel', 'python36-devel') }}"
- systemd-devel
- which
gnocchi_distro_packages:
- libxml2
# NOTE(noonedeadpunk): These variables are left for migration from apache to uwsgi
# which was introduced during train release. They can be dropped afterwards.
gnocchi_system_service_name: httpd
gnocchi_apache_config:
- "/etc/httpd/conf.d/gnocchi-httpd.conf"
gnocchi_apache_ports: "/etc/httpd/conf.d/ports.conf"