mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2024-12-30 14:50:18 +01:00
Update setup-RedHat.yml
Use the `package` module rather than `yum` so that `package` can delegate to `yum` or `dnf` as needed
This commit is contained in:
parent
2d8e23af5a
commit
9a0f04ccb8
1 changed files with 1 additions and 1 deletions
|
@ -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) }}"
|
||||
|
|
Loading…
Reference in a new issue