From 9a0f04ccb881af212414cfd27561bdf63847dc46 Mon Sep 17 00:00:00 2001 From: smeek Date: Thu, 11 Oct 2018 12:33:00 +0100 Subject: [PATCH] Update setup-RedHat.yml Use the `package` module rather than `yum` so that `package` can delegate to `yum` or `dnf` as needed --- tasks/setup-RedHat.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/setup-RedHat.yml b/tasks/setup-RedHat.yml index f9c2fc6..dfc9016 100644 --- a/tasks/setup-RedHat.yml +++ b/tasks/setup-RedHat.yml @@ -1,6 +1,6 @@ --- - name: Ensure Apache is installed on RHEL. - yum: + package: name: "{{ apache_packages }}" state: "{{ apache_packages_state }}" enablerepo: "{{ apache_enablerepo | default(omit, true) }}"