You've already forked ansible-role-repo-epel
fix: Remove EPEL if present on image 👷
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user