mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
For our archive.archlinux.org website instead of always redirecting to archive.org try if we have the file and fallback redirecting to archive.org. This reduces the load on archive.org and makes our reproducible builds downloads faster then archive.org. This also set's up another archive mirror on archive.ger.mirror.pkgbuild.com Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
16 lines
433 B
YAML
16 lines
433 B
YAML
---
|
|
- name: common playbook for archive-mirrors
|
|
hosts: archive_mirrors
|
|
remote_user: root
|
|
roles:
|
|
- { role: common }
|
|
- { role: tools }
|
|
- { role: sshd }
|
|
- { role: root_ssh }
|
|
- { role: certbot }
|
|
- { role: nginx }
|
|
- { role: unbound }
|
|
- { role: syncarchive, tags: ['nginx'] }
|
|
- { role: zabbix-agent, tags: ["zabbix"] }
|
|
- { role: archive, archive_nginx_only: true, archive_dir: "/srv/archive"}
|