Skip to content

Commit

Permalink
Tests: Use EPEL-7 from archive
Browse files Browse the repository at this point in the history
  • Loading branch information
jharuda committed Aug 14, 2024
1 parent 5082921 commit 14b6ad4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/tasks/enable_epel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@
until: __epel_status is success
retries: 6
delay: 10
when: ansible_distribution_major_version != '7'

- name: Create EPEL 7
cmd: >-
rpm -iv https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm
creates: /etc/yum.repos.d/epel.repo
register: __epel_status
until: __epel_status is success
retries: 6
delay: 10
when: ansible_distribution_major_version == '7'

- name: Install yum-utils package
package:
Expand Down

0 comments on commit 14b6ad4

Please sign in to comment.