Files
fedora-infra_ansible/vars/apps/mirrormanager.yml
Aurélien Bompard ef8aa2f749 MirrorManager: use the FQDN for the DB server
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-07-01 18:22:10 +02:00

77 lines
2.4 KiB
YAML

---
mirrormanager_hostname: "mirrormanager{{ env_suffix }}.fedoraproject.org"
mirrormanager_db_host: "db01{{ env_suffix }}.{{ datacenter }}.fedoraproject.org"
mirrormanager_oidc_client_id: "mirrormanager"
# Move that to an env var to target a specific deployment
mm2_checkin: false
mirrormanager_cron_crawler:
# Fedora: run on active mirrors.
- category: "Fedora Linux"
schedule: "0 1,13 * * *"
threads: 40
timeout: 600
include_disabled: false
# Secondary arches
# This can be a veeery long crawl because it has all versions for secondary arches
- category: "Fedora Secondary Arches"
schedule: "0 9 * * *"
threads: 30
timeout: 1380
include_disabled: false
# EPEL: run on active mirrors.
- category: "Fedora EPEL"
schedule: "45 */6 * * *"
threads: 40
timeout: 300
include_disabled: false
# ELN: run on active mirrors.
- category: "Fedora ELN"
schedule: "45 */6 * * *"
threads: 40
timeout: 300
include_disabled: false
# Archived distros
# This can be a veeery long crawl
- category: "Fedora Archive"
schedule: "0 2 * * 2,4,6"
threads: 10
timeout: 2700 # 45h
include_disabled: false
# Other content
# This can be a veeery long crawl
- category: "Fedora Other"
schedule: "0 14 * * 2,4,6"
threads: 20
timeout: 2700 # 45h
include_disabled: false
# CentOS: run on active mirrors.
- category: "CentOS"
schedule: "0 5,11 * * *"
threads: 40
timeout: 300
include_disabled: false
mirrormanager_cron_primary_mirror:
# check if category Fedora Linux needs updating every 30 minutes
- category: "fedora"
schedule: "10,40 * * * *"
# check if category Fedora Secondary Arches needs updating every 30 minutes
- category: "fedora-secondary"
schedule: "20,50 * * * *"
# check if category Fedora EPEL needs updating every 30 minutes
- category: "epel"
schedule: "0,30 * * * *"
# check if category Fedora Codecs needs updating once a day
- category: "codecs"
schedule: "15 20 * * *"
# the following two categories are updated every two hours
- category: "archive"
schedule: "15 */2 * * *"
- category: "alt"
schedule: "45 */2 * * *"
# check if category CentOS needs updating every 15 minutes
- category: "centos"
schedule: "57,12,27,42 * * * *"
# check if category Fedora ELN needs updating every 30 minutes
- category: "eln"
schedule: "22,52 * * * *"