55 lines
1.7 KiB
YAML
55 lines
1.7 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.
|
|
|
|
# TODO(odyssey4me):
|
|
# The use of 'galera_client_yum_repo_url' below is for backwards compatibility
|
|
# to settings released in Newton. It can be removed in Queens.
|
|
_galera_client_repo_url: "{{ galera_client_yum_repo_url | default('https://downloads.mariadb.com/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"
|
|
|
|
galera_client_distro_packages:
|
|
- bzip2-devel
|
|
- gcc
|
|
- gnupg2
|
|
- libaio
|
|
- libstdc++
|
|
- libgcc
|
|
- libgcrypt
|
|
- MariaDB-client
|
|
- MariaDB-devel
|
|
- MariaDB-shared
|
|
- openssl-devel
|
|
- python-devel
|
|
|
|
# Conflicting packages with those from the MariaDB repository
|
|
galera_client_mariadb_distro_packages_remove:
|
|
- mariadb-common
|
|
- mariadb-config
|
|
- mariadb-server
|
|
- mariadb-libs
|
|
- mariadb
|
|
|
|
# Galera GPG Keys
|
|
_galera_client_gpg_keys:
|
|
- key_name: 'RPM-GPG-KEY-MariaDB'
|
|
keyserver: 'https://yum.mariadb.org'
|
|
fallback_keyserver: 'http://yum.mariadb.org'
|