mirror: Lint fixes

This commit is contained in:
Timo Makinen 2023-10-12 18:32:40 +00:00
parent ee25d32b60
commit 70cdfd4612
7 changed files with 38 additions and 37 deletions

View file

@ -33,19 +33,19 @@
sitename: foo.sh
password: "{{ report_mirror_pass }}"
- role: mirror/sync
label: fedora-epel
source: "rsync://rsync.nic.funet.fi/ftp/pub/mirrors/\
fedora.redhat.com/pub/epel"
rsyncoptions:
mirror_label: fedora-epel
mirror_source:
"rsync://rsync.nic.funet.fi/ftp/pub/mirrors/fedora.redhat.com/pub/epel"
mirror_rsyncoptions:
- "--exclude=SRPMS"
- "--exclude=debug"
- "--delete-excluded"
postcmd: python3 /usr/local/bin/report_mirror
mirror_postcmd: python3 /usr/local/bin/report_mirror
- role: mirror/sync
label: fedora
source: "rsync://rsync.nic.funet.fi/ftp/pub/mirrors/\
fedora.redhat.com/pub/fedora/linux/"
rsyncoptions:
mirror_label: fedora
mirror_source:
"rsync://rsync.nic.funet.fi/ftp/pub/mirrors/fedora.redhat.com/pub/fedora/linux/"
mirror_rsyncoptions:
- "--exclude=/atomic"
- "--exclude=/development"
- "--exclude=/releases/test"
@ -58,12 +58,12 @@
- "--exclude=armhfp"
- "--exclude=debug"
- "--delete-excluded"
postcmd: python3 /usr/local/bin/report_mirror
mirror_postcmd: python3 /usr/local/bin/report_mirror
- role: mirror/sync
label: openbsd
source: "rsync://rsync.nic.funet.fi/ftp/pub/mirrors/\
ftp.openbsd.org/pub/OpenBSD/"
rsyncoptions:
mirror_label: openbsd
mirror_source:
"rsync://rsync.nic.funet.fi/ftp/pub/mirrors/ftp.openbsd.org/pub/OpenBSD/"
mirror_rsyncoptions:
- "--include=/?.?/"
- "--include=/?.?/amd64/"
- "--include=/?.?/amd64/*"