Files
openstack-ansible-galera_se…/vars/suse-42.yml
Markos Chandras 200caa0d4f vars: Switch to galera HTTP server on all distros
Commit I2192ade6eb204404fe67d47af063e0e57fbe7d62 switched from https
to http for the galera repo on CentOS but we can extend that to all
distributions in order for the repo server to cache things properly.

Change-Id: If9d252b33321a7e0155140ceb9a8c3dd050441f4
2018-03-02 12:09:23 +00:00

83 lines
2.3 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 GPG Keys
_galera_gpg_keys:
- key_name: 'RPM-GPG-KEY-MariaDB'
keyserver: 'https://yum.mariadb.org'
fallback_keyserver: 'https://yum.mariadb.org'
# Default private device setting
_galera_disable_privatedevices: yes
galera_server_required_distro_packages:
- galera
- gpg2
- libaio-devel
- libstdc++-devel
- libgcrypt-devel
- MariaDB-client
- MariaDB-devel
- xinetd
galera_etc_conf_file: "/etc/mysql/my.cnf"
galera_etc_include_dir: "/etc/mysql/conf.d"
galera_var_run_socket: "/var/lib/mysql/mysql.sock"
_galera_mariadb_server_package: "MariaDB-server"
galera_server_mariadb_distro_packages:
- which
- "{{ galera_mariadb_server_package }}"
- MariaDB-shared
- rsync
- socat
# Conflicting packages with those from the MariaDB repository
galera_server_mariadb_distro_packages_remove:
- libmariadb-devel
- mariadb
- mariadb-client
- mariadb-tools
# The packages to uninstall during an upgrade from a previous version
galera_server_upgrade_packages_remove:
- MariaDB-Galera-server
- MariaDB-server
galera_mariadb_service_name: "mariadb"
# TODO(evrardjp): Unfreeze version to 10.1 branch when clustering issue is solved.
_galera_repo_url: "http://downloads.mariadb.com/MariaDB/mariadb-{{ galera_major_version }}.{{ galera_minor_version }}/yum/opensuse42-amd64"
_galera_repo:
name: MariaDB
description: "MariaDB Repo"
baseurl: "{{ galera_repo_url }}"
gpgkey: "https://yum.mariadb.org/RPM-GPG-KEY-MariaDB"
galera_server_percona_distro_packages:
- percona-toolkit
- percona-xtrabackup
- "{{ (galera_xtrabackup_compression | bool) | ternary('qpress', '') }}"
galera_wsrep_provider: "/usr/lib64/galera/libgalera_smm.so"
mariadb_delete_etc_conf_files:
- default_plugins.cnf
- galera.cnf
- error_log.cnf
_use_percona_upstream: no