Bump mariadb version to 10.6.10

With that we also able to use MariaDB provided repo for
Ubuntu 22.04 and CentOS Stream/Rocky 9

Change-Id: I4181691ba3b23c5195b3cee3699637ece94187db
This commit is contained in:
Dmitriy Rabotyagov 2022-09-20 18:30:10 +02:00 committed by Dmitriy Rabotyagov
parent 5200b50cf6
commit e04aeacc58
3 changed files with 1 additions and 160 deletions

View File

@ -44,7 +44,7 @@ galera_mariadb_server_package: "{{ _galera_mariadb_server_package }}"
# The major version used to select the repo URL path
galera_major_version: 10.6
galera_minor_version: 8
galera_minor_version: 10
# Set the URL for the MariaDB repository
galera_repo_host: "downloads.mariadb.com"

View File

@ -1,76 +0,0 @@
---
# 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:
- findutils
- 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-server"
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:
- mariadb
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

View File

@ -1,83 +0,0 @@
---
# Copyright 2022, BBC R&D.
#
# 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.
## APT Cache Options
cache_timeout: 600
# Default private device setting
_galera_disable_privatedevices: yes
# Galera GPG Keys
_galera_gpg_keys: []
galera_server_required_distro_packages:
- apt-transport-https
- debconf-utils
- libaio1
- libc6
- libgcc1
- libgcrypt20
- libstdc++6
- python3-pymysql # needed by mysql_user
- software-properties-common
galera_etc_conf_file: "/etc/mysql/my.cnf"
galera_etc_include_dir: "/etc/mysql/conf.d"
galera_var_run_socket: "/var/run/mysqld/mysqld.sock"
# The package name for mariaDB is set as a variable
# so that it can be used in debconf later in the
# "galera_common" role.
_galera_mariadb_server_package: "mariadb-server"
# NB This is specifically galera_server_mariadb_distro_packages as these
# packages only get installed during the galera play - this is because of
# the preseed task and the service startup control used when installing
# mariadb-galera-server and galera.
galera_server_mariadb_distro_packages:
- libmariadb-dev
- mariadb-client
- mariadb-backup
- "{{ galera_mariadb_server_package }}"
- rsync
- socat
# The packages to uninstall during an upgrade from a previous version
galera_server_upgrade_packages_remove:
- mariadb-server-*
- mariadb-common
galera_debconf_items:
- question: "mysql-server/root_password"
name: "{{ galera_mariadb_server_package }}"
value: "{{ galera_root_password }}"
vtype: "string"
- question: "mysql-server/root_password_again"
name: "{{ galera_mariadb_server_package }}"
value: "{{ galera_root_password }}"
vtype: "string"
# Repositories
_galera_repo: []
galera_wsrep_provider: "/usr/lib/galera/libgalera_smm.so"
galera_client_distro_packages:
- mariadb-client
galera_devel_distro_packages:
- libmariadb-dev
galera_unix_socket: "/var/run/mysqld/mysqld.sock"