Files
ansible-role-repo-epel/molecule/default/converge.yml
Aaron Guise 4a0ba94b38
Some checks failed
CI / lint (push) Successful in 28s
CI / Molecule Test (almalinux8) (push) Failing after 47s
CI / release (push) Has been skipped
CI / notify (push) Has been skipped
fix: Remove EPEL if present on image 👷
2024-08-18 11:02:04 +12:00

16 lines
371 B
YAML

---
- name: Converge
hosts: all
pre_tasks:
- name: Ensure EPEL is not present
yum:
name: epel-release
state: absent
- name: Remove any traces of EPEL
shell: rm -f /etc/yum.repos.d/epel*
tasks:
- name: "Include repo-epel"
include_role:
name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"