1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-07 04:24:10 +01:00
infrastructure/group_vars/mirrors/mirrorsync.yml
Christian Heusel 93f0afb428
mirrorsync: Fix the syncarchive setup
related to https://gitlab.archlinux.org/archlinux/infrastructure/-/issues/531

Fixes: c31dd330 ("prepare the split of repo and archive server")
Signed-off-by: Christian Heusel <christian@heusel.eu>
2024-06-14 15:08:38 +02:00

45 lines
1.6 KiB
YAML

mirrorsync_mirrors:
archive:
hosts: "{{ groups['archive_mirrors'] }}"
source: rsync://archive.archlinux.org/archive
target: /srv/archive
last_update_url: https://archive.archlinux.org/repos/last/lastupdate
last_update_dst: lastupdate
delay_updates: false
debug:
hosts: "{{ groups['geo_mirrors'] + ['debuginfod.archlinux.org'] }}"
source: rsync://rsync.archlinux.org/debug_packages
target: /srv/ftp
last_update_url: https://rsync.archlinux.org/lastupdate
last_update_dst: lastupdate
rsync_options:
- --include="*-debug/***"
- --include="pool/"
- --include="pool/*-debug/***"
- --exclude="*"
repo:
hosts: "{{ (groups['mirrors'] + ['build.archlinux.org']) | difference(['repos.archlinux.org']) }}"
source: rsync://rsync.archlinux.org/ftp_tier1
target: /srv/ftp
last_update_url: https://rsync.archlinux.org/lastupdate
last_update_dst: lastupdate
save_lastsync: true
rsync_options:
- --exclude="/other"
- --exclude="/sources"
- --exclude="*-debug/"
kitchensink:
hosts: "repos.archlinux.org"
source: rsync://repos.archlinux.org/kitchensink_tier1
target: /srv/ftp
last_update_url: https://repos.archlinux.org/lastupdate
last_update_dst: lastupdate
save_lastsync: true
riscv:
hosts: "{{ groups['geo_mirrors'] }}"
mirror_domain: riscv.mirror.pkgbuild.com
source: rsync://archriscv.felixc.at/archriscv
target: /srv/riscv
last_update_url: https://archriscv.felixc.at/.status/lastupdate.txt
last_update_dst: .status/lastupdate.txt