Use rhel packages for all EL-based distros

With migration to mirror.mariadb.org repo path for CentOS was incorrect
as logic for CentOS/Rocky is quite different in terms of resulting
path in repo.

With that RHEL might be a universal one which would satisfy both parties
without need for more complex logic in role.

Change-Id: I7ed89d7e8a6338564d86548a797b9f40ba43b0df
This commit is contained in:
Dmitriy Rabotyagov 2024-11-19 16:41:24 +01:00
parent ef1bb11cb3
commit f773a8fb23

View File

@ -43,7 +43,7 @@ _galera_mariadb_external_repo_package: >-
MariaDB-server-{{ galera_major_version }}.{{ galera_minor_version }}-1.el{{ ansible_facts['distribution_major_version'] }}
_galera_architecture_mapping:
x86_64: amd64
x86_64: x86_64
ppc64le: ppc64le
s390x: s390x
aarch64: aarch64
@ -69,7 +69,7 @@ galera_server_upgrade_packages_remove:
- "{{ galera_mariadb_server_package }}"
_galera_repo_url: >-
https://{{ galera_repo_host }}/yum/{{ galera_major_version }}/{{ ansible_facts['distribution'] | lower }}$releasever-{{
https://{{ galera_repo_host }}/yum/{{ galera_major_version }}/rhel/$releasever/{{
galera_architecture_mapping[ansible_facts['architecture']] }}
_galera_repo: