Merge "Merge mirror list for centos."
This commit is contained in:
commit
79353be533
@ -96,6 +96,16 @@
|
|||||||
tags:
|
tags:
|
||||||
- repo_server-install
|
- repo_server-install
|
||||||
|
|
||||||
|
- name: create yum merged mirror list
|
||||||
|
shell: |
|
||||||
|
curl https://www.centos.org/download/full-mirrorlist.csv | sed 's/^.*"http:/http:/' | sed 's/".*$//' | grep ^http >/etc/apt-cacher-ng/centos_mirrors
|
||||||
|
echo "http://mirror.centos.org/centos/" >>/etc/apt-cacher-ng/centos_mirrors
|
||||||
|
when:
|
||||||
|
- ansible_pkg_mgr == 'yum'
|
||||||
|
tags:
|
||||||
|
- repo_server-config
|
||||||
|
- skip_ansible_lint
|
||||||
|
|
||||||
- name: Drop acng.conf
|
- name: Drop acng.conf
|
||||||
template:
|
template:
|
||||||
src: "acng.conf.j2"
|
src: "acng.conf.j2"
|
||||||
|
@ -13,6 +13,7 @@ Remap-alxrep: file:archlx_mirrors /archlinux # ; file:backend_archlx # Arch Linu
|
|||||||
Remap-fedora: file:fedora_mirrors # Fedora Linux
|
Remap-fedora: file:fedora_mirrors # Fedora Linux
|
||||||
Remap-epel: file:epel_mirrors # Fedora EPEL
|
Remap-epel: file:epel_mirrors # Fedora EPEL
|
||||||
Remap-slrep: file:sl_mirrors # Scientific Linux
|
Remap-slrep: file:sl_mirrors # Scientific Linux
|
||||||
|
Remap-centos: file:centos_mirrors /centos #centos
|
||||||
ReportPage: acng-report.html
|
ReportPage: acng-report.html
|
||||||
PidFile: /var/run/apt-cacher-ng
|
PidFile: /var/run/apt-cacher-ng
|
||||||
ExTreshold: 4
|
ExTreshold: 4
|
||||||
|
Loading…
Reference in New Issue
Block a user