mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2024-09-28 17:21:46 +02:00
29aaed2bd0
Going to be served by all our Geo boxes under riscv.mirror.pkgbuild.com.
20 lines
744 B
YAML
20 lines
744 B
YAML
- name: Common playbook for mirrors
|
|
hosts: mirrors
|
|
remote_user: root
|
|
roles:
|
|
- { role: common }
|
|
- { role: firewalld }
|
|
- { role: wireguard }
|
|
- { role: sshd }
|
|
- { role: root_ssh }
|
|
- { role: certbot }
|
|
- { role: nginx }
|
|
- { role: syncrepo, tags: ['nginx'] }
|
|
- { role: syncdebug, when: mirror_debug_packages is not defined or mirror_debug_packages }
|
|
- { role: syncriscv, when: riscv_mirror_domain is defined }
|
|
- { role: archweb, when: archweb_mirrorcheck_locations is defined, archweb_site: false, archweb_services: false, archweb_mirrorcheck: true }
|
|
- { role: prometheus_exporters }
|
|
- { role: promtail }
|
|
- { role: fail2ban }
|
|
- { role: geo_dns, when: "'geo_mirrors' in group_names" }
|