Skip to content
Snippets Groups Projects

syncrepo: let mirrorsync perform the repo syncing

Merged Evangelos Foutras requested to merge fold-syncrepo-script-into-mirrorsync into master
Files
8
@@ -17,6 +17,17 @@ mirrorsync_mirrors:
- --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
Loading