Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure EPEL is reinstalled #2643

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions roles/ci_setup/tasks/epel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@
name: ci_setup
tasks_from: repos.yml

# Some roles like repo_setup may have altered the RPM installed files
# without removing the RPM itself. Ensuring it's not installed before
# enforcing its installation will make the EPEL rpm install consistent
# with the actul state of the repository files.
- name: Ensure EPEL is not already installed
become: true
ansible.builtin.dnf:
name: epel-release
state: absent

- name: Install EPEL
become: true
ansible.builtin.dnf:
Expand Down
Loading