
This patch ensure the local host's ansible facts are used for the "ansible_architecture" fact, rather than the "physical_host". Since we don't explicitly collect facts for "physical_host", and the ansible_architecture fact is set for the local host container, we don't need to try to retrieve the "physical_host" facts. A new var "galera_package_arch" is created so that the architecture can be overriden if it isn't being calculated correctly. Additionally, the duplicate vars that are not specific to distributions have been moved into defaults, and out of the specific distribution vars files. Change-Id: I5124c061faf124388a88eefee93d96e9a9e90d8f Closes-Bug: 1650384
68 lines
2.0 KiB
YAML
68 lines
2.0 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 GPG Keys
|
|
galera_gpg_keys:
|
|
- key_name: 'RPM-GPG-KEY-MariaDB'
|
|
keyserver: 'https://yum.mariadb.org'
|
|
fallback_keyserver: 'https://yum.mariadb.org'
|
|
|
|
galera_server_required_distro_packages:
|
|
- gnupg2
|
|
- libaio
|
|
- libstdc++
|
|
- libgcc
|
|
- libgcrypt
|
|
- MariaDB-client
|
|
- MariaDB-devel
|
|
|
|
_galera_mariadb_server_package: "MariaDB-server"
|
|
|
|
galera_server_mariadb_distro_packages:
|
|
- which
|
|
- "{{ galera_mariadb_server_package }}"
|
|
- MariaDB-shared
|
|
- percona-xtrabackup
|
|
- percona-toolkit
|
|
- rsync
|
|
- socat
|
|
|
|
_galera_repo_url: "http://yum.mariadb.org/10.1/centos/7/x86_64"
|
|
galera_repo:
|
|
name: MariaDB
|
|
description: "MariaDB Repo"
|
|
baseurl: "{{ galera_repo_url }}"
|
|
gpgkey: "https://yum.mariadb.org/RPM-GPG-KEY-MariaDB"
|
|
|
|
galera_percona_xtrabackup_repo:
|
|
repo: "http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm"
|
|
state: "present"
|
|
|
|
galera_server_percona_distro_packages:
|
|
- qpress
|
|
- percona-xtrabackup
|
|
|
|
percona_arch_url:
|
|
x86_64: "https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.2.13/binary/redhat/7/x86_64/percona-xtrabackup-22-2.2.13-1.el7.x86_64.rpm"
|
|
percona_arch_sha256:
|
|
x86_64: "030585abb52b24a781641374fe7c4530518b176a10ed4eb75547803b6b1f60e4"
|
|
|
|
qpress_arch_url:
|
|
x86_64: "https://repo.percona.com/centos/7/RPMS/x86_64/qpress-11-1.el7.x86_64.rpm"
|
|
qpress_arch_sha256:
|
|
x86_64: "d6b6b7ca3a5ad4baea34975743106ac54ac746b3e6497d59bce55765d604b697"
|
|
|
|
use_percona_upstream: yes
|