]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
common: Use global epel_repos var
authorDavid Galloway <dgallowa@redhat.com>
Tue, 4 Feb 2020 23:00:20 +0000 (18:00 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 4 Feb 2020 23:00:20 +0000 (18:00 -0500)
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>
roles/common/vars/centos_8.yml
roles/common/vars/redhat_8.yml

index c958acc8d6a46733443d611afeeef70965e1e8b1..9af7db383b87daa63dc0f7d3d0d34ab0cc421961 100644 (file)
@@ -1,14 +1,4 @@
 ---
-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
index 233814ae927dfaababb49b673d263490b9a26e4b..534fd209eb22ee91acffe5c2b38865ac57eb69ce 100644 (file)
@@ -3,16 +3,6 @@ rhsm_repos:
   - 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