Skip to content

Commit

Permalink
Merge pull request #544 from ceph/wip-epel-nobaseurl
Browse files Browse the repository at this point in the history
common: Don't use baseurl for epel at all
  • Loading branch information
David Galloway authored Mar 13, 2020
2 parents 6dd8b5e + 5edb072 commit 78f1213
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions roles/common/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,13 @@ epel_mirror_baseurl: "http://dl.fedoraproject.org/pub/epel"
epel_repos:
epel:
name: "Extra Packages for Enterprise Linux"
baseurl: "{{ epel_mirror_baseurl }}/{{ ansible_distribution_major_version }}/{% if ansible_distribution_major_version == '8' %}Everything/{% endif %}$basearch"
mirrorlist: file:///etc/yum.repos.d/epel-mirrorlist
failovermethod: priority
# ternary requires ansible >= 1.9
enabled: "{{ enable_epel | ternary(1, 0) }}"
gpgcheck: 0
epel-testing:
name: "Extra Packages for Enterprise Linux - Testing"
baseurl: "{{ epel_mirror_baseurl }}/testing/{{ ansible_distribution_major_version }}/{% if ansible_distribution_major_version == '8' %}Everything/{% endif %}$basearch"
mirrorlist: file:///etc/yum.repos.d/epel-testing-mirrorlist
failovermethod: priority
enabled: 0
Expand Down

0 comments on commit 78f1213

Please sign in to comment.