9 lines
366 B
YAML
9 lines
366 B
YAML
---
|
|
# file: roles/base/tasks/redhat_epel.yml
|
|
|
|
- name: Install EPEL RPM
|
|
package:
|
|
name: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{ ansible_distribution_major_version }}.noarch.rpm"
|
|
state: present
|
|
disable_gpg_check: True
|
|
when: ansible_distribution == 'RedHat' or ansible_distribution == 'AlmaLinux' or ansible_distribution == 'Rocky'
|