From 68056e7104a28ecc74041ecd22509ed518e37d5a Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Tue, 16 Mar 2021 08:46:54 +0000 Subject: [PATCH] Convert remaining ansible_ variables to ansible_facts[] Change-Id: I98b009643e8dae37fc8a454508e84e7a146c5b13 --- vars/redhat.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vars/redhat.yml b/vars/redhat.yml index a0156077..3021f88f 100644 --- a/vars/redhat.yml +++ b/vars/redhat.yml @@ -33,5 +33,5 @@ _rabbitmq_erlang_repo: rabbitmq_distro_packages: - openssl - - "erlang-{{ _erlang_package_version }}.el{{ ansible_distribution_major_version }}.x86_64" - - "rabbitmq-server-{{ rabbitmq_package_version }}.el{{ ansible_distribution_major_version }}.noarch" + - "erlang-{{ _erlang_package_version }}.el{{ ansible_facts['distribution_major_version'] }}.x86_64" + - "rabbitmq-server-{{ rabbitmq_package_version }}.el{{ ansible_facts['distribution_major_version'] }}.noarch"