Skip to content

Commit 5edb072

Browse files
author
David Galloway
committed
common: Don't use baseurl for epel at all
Despite having a mirrorlist present in the repo file, if contacting the baseurl fails, the yum transaction fails which causes our jobs to fail. Let's try *just* using a mirrorlist. See #542 (comment) Signed-off-by: David Galloway <dgallowa@redhat.com>
1 parent 6dd8b5e commit 5edb072

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

roles/common/defaults/main.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,13 @@ epel_mirror_baseurl: "http://dl.fedoraproject.org/pub/epel"
1717
epel_repos:
1818
epel:
1919
name: "Extra Packages for Enterprise Linux"
20-
baseurl: "{{ epel_mirror_baseurl }}/{{ ansible_distribution_major_version }}/{% if ansible_distribution_major_version == '8' %}Everything/{% endif %}$basearch"
2120
mirrorlist: file:///etc/yum.repos.d/epel-mirrorlist
2221
failovermethod: priority
2322
# ternary requires ansible >= 1.9
2423
enabled: "{{ enable_epel | ternary(1, 0) }}"
2524
gpgcheck: 0
2625
epel-testing:
2726
name: "Extra Packages for Enterprise Linux - Testing"
28-
baseurl: "{{ epel_mirror_baseurl }}/testing/{{ ansible_distribution_major_version }}/{% if ansible_distribution_major_version == '8' %}Everything/{% endif %}$basearch"
2927
mirrorlist: file:///etc/yum.repos.d/epel-testing-mirrorlist
3028
failovermethod: priority
3129
enabled: 0

0 commit comments

Comments
 (0)