From 96a7b8694a9fc32fe24a1c85c95b0173e20ecb92 Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Thu, 9 May 2019 23:53:25 -0400 Subject: [PATCH] [redhat] Update variables to be version agnostic The RedHat-based operating systems such as CentOS have a pretty stable list of packages, therefore, we don't need to pin it by version and we can instead move to a much more generic redhat.yml which will support a bigger range of systems. Change-Id: I215dc9bca6eb586b9c18c85f29a644ef25de41ea --- vars/{redhat-7.yml => redhat.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename vars/{redhat-7.yml => redhat.yml} (92%) diff --git a/vars/redhat-7.yml b/vars/redhat.yml similarity index 92% rename from vars/redhat-7.yml rename to vars/redhat.yml index fdd3758..df94881 100644 --- a/vars/redhat-7.yml +++ b/vars/redhat.yml @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -_galera_client_repo_url: "http://{{ galera_repo_host }}/MariaDB/mariadb-{{ galera_client_major_version }}.{{ galera_client_minor_version }}/yum/centos7-amd64/" +_galera_client_repo_url: "http://{{ galera_repo_host }}/MariaDB/mariadb-{{ galera_client_major_version }}.{{ galera_client_minor_version }}/yum/{{ ansible_distribution | lower }}{{ ansible_distribution_major_version }}-amd64/" _galera_client_repo: state: "present" name: MariaDB