mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2024-12-22 19:10:19 +01:00
9a0f04ccb8
Use the `package` module rather than `yum` so that `package` can delegate to `yum` or `dnf` as needed
6 lines
198 B
YAML
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) }}"
|