I diverged a bit when CentOS/RHEL 8 came out and was using metalink when I meant to use mirrorlist. We're seeing intermittent epel failures which should be resolved by using a mirrorlist instead of relying on dl.fedoraproject.org
Signed-off-by: David Galloway <dgallowa@redhat.com>
---
-epel_repos:
- epel:
- name: "Extra Packages for Enterprise Linux $releasever - $basearch"
- metalink: https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch=$basearch&infra=$infra&content=$contentdir
- baseurl: "{{ epel_mirror_baseurl }}/{{ ansible_distribution_major_version }}/{% if ansible_distribution_major_version == '8' %}Everything/{% endif %}$basearch"
- failovermethod: priority
- # ternary requires ansible >= 1.9
- enabled: "{{ enable_epel | ternary(1, 0) }}"
- gpgcheck: 0
-
nrpe_selinux_packages:
- python3-libsemanage
- python3-policycoreutils
- rhel-8-for-x86_64-baseos-rpms
- rhel-8-for-x86_64-appstream-rpms
-epel_repos:
- epel:
- name: "Extra Packages for Enterprise Linux $releasever - $basearch"
- metalink: https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch=$basearch&infra=$infra&content=$contentdir
- baseurl: "{{ epel_mirror_baseurl }}/{{ ansible_distribution_major_version }}/{% if ansible_distribution_major_version == '8' %}Everything/{% endif %}$basearch"
- failovermethod: priority
- # ternary requires ansible >= 1.9
- enabled: "{{ enable_epel | ternary(1, 0) }}"
- gpgcheck: 0
-
nrpe_selinux_packages:
- python3-libsemanage
- python3-policycoreutils