fix: Remove EPEL if present on image 👷
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

This commit is contained in:
2024-08-18 11:02:04 +12:00
parent 01d9a66e70
commit 4a0ba94b38
2 changed files with 18 additions and 0 deletions

View File

@@ -1,6 +1,15 @@
---
- 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:

View File

@@ -1,6 +1,15 @@
---
- 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-almalinux"
include_role: