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) }}"