openstack-ansible-os_gnocchi/vars/suse.yml

58 lines
1.6 KiB
YAML

---
# Copyright 2016, Rackspace US, Inc.
# Copyright 2017, SUSE LINUX GmbH.
#
# 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 (also includes packages from devel_basis patterns)
gnocchi_distro_packages:
- apache2
- apache2-mod_wsgi
- apache2-utils
- autoconf
- automake
- binutils
- cpp
- gcc
- git-core
- glibc-devel
- librados2-devel
- libtool
- m4
- make
- postgresql-devel
- python-devel
- which
gnocchi_system_service_name: apache2
gnocchi_apache_config:
- { src: "gnocchi-ports.conf.j2", dest: "/etc/apache2/conf.d/ports.conf" }
- { src: "gnocchi-httpd.conf.j2", dest: "/etc/apache2/conf.d/gnocchi-httpd.conf" }
gnocchi_apache_default_sites:
- "/etc/apache2/conf.d/gitweb.conf"
gnocchi_apache_conf: "/etc/apache2/httpd.conf"
gnocchi_apache_security_conf: "{{ gnocchi_apache_conf }}"
gnocchi_apache_modules:
- name: "authz_host"
state: "present"
- name: "access_compat"
state: "present"
- name: "version"
state: "present"
- name: "ssl"
state: "{{ (gnocchi_ssl | bool) | ternary('present', 'absent') }}"