1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/playbooks/archive-mirrors.yml
Jelle van der Waa 039435e7a5
Fall back to archive.org when not found for archive.*
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>
2020-05-01 23:34:30 +02:00

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"}