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 https://github.com/ceph/ceph-cm-ansible/pull/542#issuecomment-
598924481
Signed-off-by: David Galloway <dgallowa@redhat.com>
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
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