]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Enable mirrorlist for epel repo 117/head
authordgalloway <dgallowa@REDHAT.COM>
Wed, 19 Aug 2015 22:39:35 +0000 (18:39 -0400)
committerdgalloway <dgallowa@REDHAT.COM>
Thu, 20 Aug 2015 18:50:33 +0000 (14:50 -0400)
Signed-off-by: dgalloway <dgallowa@REDHAT.COM>
roles/common/defaults/main.yml
roles/testnode/vars/centos_6.yml
roles/testnode/vars/centos_7.yml
roles/testnode/vars/redhat_6.yml
roles/testnode/vars/redhat_7.yml

index 0ec6be940c970f790eb573bd8c3cfeb8eb066ab8..bed99f2af0ae1a50b6f5763726824fa4b037b2ba 100644 (file)
@@ -9,16 +9,21 @@ rhsm_repos: []
 kerberos_realm: EXAMPLE.COM
 
 epel_mirror_baseurl: "http://dl.fedoraproject.org/pub/epel"
+epel_mirrorlist: "http://mirrors.fedoraproject.org"
 epel_repos:
   epel:
     name: "Extra Packages for Enterprise Linux"
     baseurl: "{{ epel_mirror_baseurl }}/{{ ansible_distribution_major_version }}/$basearch"
+    mirrorlist: "{{ epel_mirrorlist }}/metalink?repo=epel-{{ ansible_distribution_major_version }}&arch=$basearch"
+    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 }}/$basearch"
+    mirrorlist: "{{ epel_mirrorlist }}/metalink?repo=testing-epel{{ ansible_distribution_major_version }}&arch=$basearch"
+    failovermethod: priority
     enabled: 0
     gpgcheck: 0
 
index b85c4793dbecf363b2ef7a8f614336e66839067b..13b3e167e21b60426bb33a1557bbe7a0197a2d17 100644 (file)
@@ -43,6 +43,7 @@ packages:
   - '@core'
   - '@base'
   - yum-plugin-priorities
+  - yum-plugin-fastestmirror
   - redhat-lsb
   - sysstat
   - gdb
index c7e2f093653d81fe6424462d8d3d4bc94424435e..84f60375a5bbd0b4d70fc4c9f49f3b0799b5982a 100644 (file)
@@ -19,6 +19,7 @@ packages:
   - '@core'
   - '@base'
   - yum-plugin-priorities
+  - yum-plugin-fastestmirror
   - redhat-lsb
   - sysstat
   - gdb
index 59b3f41aae626bb6f6159c8a1ecc2f851a4da3be..c7e38764e5209b191a8710584cdf9611afa1a471 100644 (file)
@@ -37,6 +37,7 @@ packages:
   - '@core'
   - '@base'
   - yum-plugin-priorities
+  - yum-plugin-fastestmirror
   - redhat-lsb
   - sysstat
   - gdb
index b1ba323f453d54c7ba31887a9ec555d6f01bd95e..5fd4ee941c3a3a68b7d83e2a2ddbc3b6e82326eb 100644 (file)
@@ -19,6 +19,7 @@ packages:
   - '@core'
   - '@base'
   - yum-plugin-priorities
+  - yum-plugin-fastestmirror
   - redhat-lsb
   - sysstat
   - gdb