2021-12-01 19:13:34 +01:00
|
|
|
{% if mysql_mariadb_version != 'default' %}
|
|
|
|
[mariadb]
|
2023-06-17 00:00:17 +02:00
|
|
|
baseurl = http://yum.mariadb.org/{{ mysql_mariadb_version }}/rhel$releasever-amd64
|
2021-12-01 19:13:34 +01:00
|
|
|
gpgcheck = 1
|
|
|
|
gpgkey = https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
|
|
|
|
name = MariaDB
|
|
|
|
{% if ansible_os_family == 'RedHat' and ansible_distribution_major_version is version('8', '>=') %}
|
|
|
|
# Workaround a bug in dnf which would make the default module mask
|
|
|
|
# packages from the MariaDB repo. See https://jira.mariadb.org/browse/MDEV-20673
|
|
|
|
module_hotfixes = true
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|