Skip to content

Commit

Permalink
Fix yum_repository for more centos6 EOL fallout
Browse files Browse the repository at this point in the history
Change:
- Use a version specific vars file to specify archive url for EPEL.

Test Plan:
- ci_complete

Signed-off-by: Rick Elrod <[email protected]>
  • Loading branch information
relrod authored and mattclay committed Dec 3, 2020
1 parent f7adbec commit 9e7616b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/integration/targets/yum_repository/vars/CentOS-6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
yum_repository_test_package: sl
yum_repository_test_repo:
name: epel
description: EPEL yum repo
baseurl: https://archives.fedoraproject.org/pub/archive/epel/{{ ansible_facts.distribution_major_version }}/$basearch

yum_repository_epel:
description: Extra Packages for Enterprise Linux {{ ansible_facts.distribution_major_version }} - $basearch
mirrorlist: https://mirrors.fedoraproject.org/metalink?repo=epel-{{ ansible_facts.distribution_major_version }}&arch=$basearch
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-{{ ansible_facts.distribution_major_version }}

0 comments on commit 9e7616b

Please sign in to comment.