33 lines
1.4 KiB
YAML
33 lines
1.4 KiB
YAML
---
|
|
# 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.
|
|
|
|
_galera_opensuse_dir: "{{ (ansible_distribution_major_version == '15') | ternary(ansible_distribution_version | regex_replace('\\.', ''), ansible_distribution_major_version) }}"
|
|
_galera_client_repo_url: "http://{{ galera_repo_host }}/MariaDB/mariadb-{{ galera_client_major_version }}.{{ galera_client_minor_version }}/yum/opensuse{{ _galera_opensuse_dir }}-amd64"
|
|
_galera_client_repo:
|
|
name: MariaDB
|
|
description: "MariaDB Repo"
|
|
baseurl: "{{ galera_client_repo_url }}"
|
|
|
|
# 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'
|