Use syncproxy for mirror sources

certbot_on_virtu
Alexandre Iooss 2020-03-30 23:14:04 +02:00
parent b7d33d4e09
commit 975220d174
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
2 changed files with 16 additions and 22 deletions

View File

@ -1,6 +1,6 @@
# {{ ansible_managed }} # {{ ansible_managed }}
# MIRRORNAME=`hostname -f` MIRRORNAME="CRANS"
TO="{{ item.dest }}" TO="{{ item.dest }}"
MAILTO="root" MAILTO="root"
# HUB=false # HUB=false
@ -18,11 +18,11 @@ RSYNC_PATH="{{ item.rsync_path }}"
## Mirror information options ## Mirror information options
######################################################################## ########################################################################
# INFO_MAINTAINER="Admins <admins@example.com>, Person <person@example.com>" INFO_MAINTAINER="Les Nounous <contact@crans.org>"
# INFO_SPONSOR="Example <https://example.com>" # INFO_SPONSOR="Example <https://example.com>"
# INFO_COUNTRY=DE INFO_COUNTRY=FR
# INFO_LOCATION="Example" INFO_LOCATION="Cachan, Île-de-France"
# INFO_THROUGHPUT=10Gb INFO_THROUGHPUT=1Gb
######################################################################## ########################################################################
## Include and exclude options ## Include and exclude options

View File

@ -39,38 +39,32 @@
- name: main - name: main
dest: /pubftp/pub/debian/ dest: /pubftp/pub/debian/
cron_time: "25 1,13" cron_time: "25 1,13"
rsync_host: ftp.fr.debian.org rsync_host: syncproxy3.eu.debian.org
rsync_path: debian rsync_path: debian
- name: security - name: security
dest: /pubftp/pub/debian-security/ dest: /pubftp/pub/debian-security/
cron_time: "40 *" cron_time: "40 *"
rsync_host: ftp.fr.debian.org rsync_host: syncproxy3.eu.debian.org
rsync_path: debian-security rsync_path: debian-security
- name: backports
dest: /pubftp/pub/debian-backports/
cron_time: " 7 3,15"
rsync_host: ftp.fr.debian.org
rsync_path: debian-backports
- name: ports - name: ports
dest: /pubftp/pub/debian-ports/ dest: /pubftp/pub/debian-ports/
cron_time: " 7 3,15" cron_time: " 7 3,15"
rsync_host: deb.debian.org rsync_host: syncproxy3.eu.debian.org
rsync_path: debian-ports rsync_path: debian-ports
- name: multimedia - name: backports
dest: /pubftp/pub/debian-multimedia/ dest: /pubftp/pub/debian-backports/
cron_time: "49 4,16" cron_time: " 7 3,15"
rsync_host: www.deb-multimedia.org rsync_host: syncproxy3.eu.debian.org
rsync_path: deb rsync_path: debian-backports
- name: ubuntu - name: ubuntu
dest: /pubftp/pub/ubuntu/ dest: /pubftp/pub/ubuntu/
cron_time: "55 5,17" cron_time: "55 5,17"
rsync_host: ftp.lip6.fr rsync_host: wahoo.canonical.com
rsync_path: Ubuntu/archive/ rsync_path: ubuntu
rsync_mirror: rsync_mirror:
- name: videolan - name: videolan
@ -83,7 +77,7 @@
dest: /pubftp/pub/distributions/linux/ubuntu dest: /pubftp/pub/distributions/linux/ubuntu
cron_time: "00 5" cron_time: "00 5"
rsync_host: cdimage.ubuntu.com rsync_host: cdimage.ubuntu.com
rsync_path: cdimage/ubuntu/releases rsync_path: cdimage/releases
- name: xubuntu - name: xubuntu
dest: /pubftp/pub/distributions/linux/xubuntu dest: /pubftp/pub/distributions/linux/xubuntu