diff --git a/tasks/galera_client_install_yum.yml b/tasks/galera_client_install_yum.yml index 1b0060b..fe62919 100644 --- a/tasks/galera_client_install_yum.yml +++ b/tasks/galera_client_install_yum.yml @@ -62,6 +62,7 @@ name: "{{ item.name }}" description: "{{ item.description }}" baseurl: "{{ item.baseurl }}" + priority: 25 gpgkey: "{{ item.gpgkey | default(omit) }}" gpgcheck: yes enabled: yes @@ -73,13 +74,3 @@ - "{{ galera_client_repo }}" tags: - galera-repos - -# NOTE(hwoarang): MariaDB repository is prioritized at 99 by default -# and that allows yum to install mariadb client from the RDO repos, which -# is not good. This task ensures that the following tasks will choose -# MariaDB repo as the highest priority. -- name: Ensure MariaDB repository takes highest priority - command: | - yum-config-manager - --enable MariaDB - --setopt="MariaDB.priority=25"