File tree Expand file tree Collapse file tree 4 files changed +2
-31
lines changed
Expand file tree Collapse file tree 4 files changed +2
-31
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ epel_mirror_baseurl: "http://dl.fedoraproject.org/pub/epel"
1717epel_repos :
1818 epel :
1919 name : " Extra Packages for Enterprise Linux"
20- mirrorlist : file :///etc/yum.repos.d/ epel-mirrorlist
20+ metalink : " https ://mirrors.fedoraproject.org/metalink?repo= epel-$releasever&arch=$basearch&infra=$infra&content=$contentdir "
2121 # ternary requires ansible >= 1.9
2222 enabled : " {{ enable_epel | ternary(1, 0) }}"
2323 gpgcheck : 0
2424 epel-testing :
2525 name : " Extra Packages for Enterprise Linux - Testing"
26- mirrorlist : file :///etc/yum.repos.d/epel- testing-mirrorlist
26+ metalink : " https ://mirrors.fedoraproject.org/metalink?repo= testing-epel$releasever&arch=$basearch&infra=$infra&content=$contentdir "
2727 enabled : 0
2828 gpgcheck : 0
2929
Original file line number Diff line number Diff line change 1616 register : epel_repo
1717 with_dict : " {{ epel_repos }}"
1818
19- - name : Configure local epel mirrorlists
20- template :
21- src : ' {{ item }}'
22- dest : ' /etc/yum.repos.d/{{ item }}'
23- owner : root
24- group : root
25- mode : 0644
26- with_items :
27- - epel-mirrorlist
28- - epel-testing-mirrorlist
29-
3019- name : Clean yum cache
3120 shell : yum clean all
3221 when : epel_repo is defined and epel_repo is changed
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments