ansible-role-apache/tasks/setup-RedHat.yml
smeek 9a0f04ccb8
Update setup-RedHat.yml
Use the `package` module rather than `yum` so that `package` can delegate to `yum` or `dnf` as needed
2018-10-11 12:33:00 +01:00

6 lines
198 B
YAML

---
- name: Ensure Apache is installed on RHEL.
package:
name: "{{ apache_packages }}"
state: "{{ apache_packages_state }}"
enablerepo: "{{ apache_enablerepo | default(omit, true) }}"