1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/group_vars/mirrors/mirrorsync.yml
Evangelos Foutras a782c6953f
syncrepo: let mirrorsync perform the repo syncing
This role will still handle setting up nginx and rsyncd, due to specific
configuration requirements these services have.

We're also effectively relieving build.archlinux.org of rsyncd duties as
it is not something it should be doing anyway.
2022-11-12 20:22:08 +02:00

38 lines
1.3 KiB
YAML

mirrorsync_mirrors:
archive:
hosts: "{{ groups['archive_mirrors'] }}"
source: rsync://rsync.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'] }}"
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/"
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