Files
openstack-ansible-galera_cl…/vars/redhat.yml
Mohammed Naser 96a7b8694a [redhat] Update variables to be version agnostic
The RedHat-based operating systems such as CentOS have a pretty
stable list of packages, therefore, we don't need to pin it by
version and we can instead move to a much more generic redhat.yml
which will support a bigger range of systems.

Change-Id: I215dc9bca6eb586b9c18c85f29a644ef25de41ea
2019-05-09 23:53:25 -04:00

37 lines
1.3 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.
_galera_client_repo_url: "http://{{ galera_repo_host }}/MariaDB/mariadb-{{ galera_client_major_version }}.{{ galera_client_minor_version }}/yum/{{ ansible_distribution | lower }}{{ ansible_distribution_major_version }}-amd64/"
_galera_client_repo:
state: "present"
name: MariaDB
description: "MariaDB Repo"
file: "{{ mariadb_repo_filename }}"
baseurl: "{{ galera_client_repo_url }}"
# Packages conflicting with MariaDB
# These are evaluated using case-sensitivity!
galera_client_distro_remove_packages:
- mariadb-common
- mariadb-config
galera_client_distro_packages:
- MariaDB-client
# Galera GPG Keys
_galera_client_gpg_keys:
# MariaDB Package Signing Key <package-signing-key@mariadb.org>
- key: /etc/pki/rpm-gpg/RPM-GPG-KEY-MariaDB