openstack-ansible-galera_cl.../vars/redhat-7.yml

39 lines
1.4 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/centos7-amd64/"
_galera_client_repo:
state: "present"
name: MariaDB
description: "MariaDB Repo"
file: "{{ mariadb_repo_filename }}"
baseurl: "{{ galera_client_repo_url }}"
gpgkey: "http://yum.mariadb.org/RPM-GPG-KEY-MariaDB"
# Packages conflicting with MariaDB
galera_client_distro_remove_packages:
- mariadb-common-3
# MariaDB-devel is required for mysql_config, which is subsequently required for pip install of MySQL-python
galera_client_distro_packages:
- MariaDB-client
- MariaDB-devel
# Galera GPG Keys
_galera_client_gpg_keys:
- key_name: 'RPM-GPG-KEY-MariaDB'
keyserver: 'https://yum.mariadb.org'
fallback_keyserver: 'http://yum.mariadb.org'