Merge "Add support for centos-9"
This commit is contained in:
commit
cd73bd5108
|
@ -104,7 +104,7 @@ galera_tmp_dir: /var/lib/mysql/#tmp
|
|||
galera_ignore_db_dirs:
|
||||
- "'#tmp'"
|
||||
|
||||
galera_file_limits: 65535
|
||||
galera_file_limits: 164679
|
||||
galera_wait_timeout: "{{ openstack_db_connection_recycle_time | default('600') }}"
|
||||
# Increase this value if large SST transfers cause mysql startup to fail due
|
||||
# to timeout
|
||||
|
|
|
@ -112,6 +112,7 @@
|
|||
gpgcheck: yes
|
||||
enabled: yes
|
||||
priority: 25
|
||||
when: galera_repo != {}
|
||||
register: add_galera_repos
|
||||
until: add_galera_repos is success
|
||||
retries: 5
|
||||
|
@ -123,6 +124,7 @@
|
|||
line: "module_hotfixes=1"
|
||||
regexp: "^module_hotfixes"
|
||||
insertafter: "^enabled"
|
||||
when: galera_repo != {}
|
||||
|
||||
# When changing the repo URL, the metadata does
|
||||
# not reliably update, resulting in the right
|
||||
|
|
|
@ -0,0 +1,74 @@
|
|||
---
|
||||
# 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: {}
|
||||
|
||||
# Default private device setting
|
||||
# This provides some additional security, but it causes problems with creating
|
||||
# mount namespaces on CentOS 7 with systemd 219. Setting the following variable
|
||||
# to 'yes' will disable the PrivateDevices
|
||||
_galera_disable_privatedevices: yes
|
||||
|
||||
galera_server_required_distro_packages:
|
||||
- gnupg2
|
||||
- libaio
|
||||
- libstdc++
|
||||
- libgcc
|
||||
- libgcrypt
|
||||
- mariadb-common
|
||||
- mariadb-connector-c-devel
|
||||
- python3-PyMySQL
|
||||
|
||||
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"
|
||||
|
||||
galera_server_mariadb_distro_packages:
|
||||
- which
|
||||
- "{{ galera_mariadb_server_package }}"
|
||||
- mariadb-server-galera
|
||||
- mariadb-backup
|
||||
- rsync
|
||||
- socat
|
||||
|
||||
# Conflicting packages with those from the MariaDB repository
|
||||
galera_mariadb_distro_packages_remove: []
|
||||
|
||||
# The packages to uninstall during an upgrade from a previous version
|
||||
galera_server_upgrade_packages_remove: []
|
||||
|
||||
_galera_repo_url: "http://{{ galera_repo_host }}/MariaDB/mariadb-{{ galera_major_version }}.{{ galera_minor_version }}/yum/rhel/$releasever/$basearch"
|
||||
_galera_repo: {}
|
||||
|
||||
galera_wsrep_provider: "/usr/lib64/galera/libgalera_smm.so"
|
||||
|
||||
galera_client_distro_packages: []
|
||||
|
||||
galera_devel_distro_packages:
|
||||
- mariadb-connector-c-devel
|
||||
|
||||
galera_unix_socket: "/var/lib/mysql/mysql.sock"
|
||||
|
||||
mariadb_delete_etc_conf_files:
|
||||
- auth_gssapi.cnf
|
||||
- client.cnf
|
||||
- enable_encryption.preset
|
||||
- galera.cnf
|
||||
- mariadb-server.cnf
|
||||
- mysql-clients.cnf
|
||||
- spider.cnf
|
Loading…
Reference in New Issue