1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-09-19 21:41:41 +02:00
infrastructure/playbooks/mirrors.yml
Evangelos Foutras 43eb814bcf
Combine sync{archive,debug,riscv} into mirrorsync
These roles are very similar and can be merged into a single new role.

Note: The archive mirror is changed from a 4-hour sync to minutely for
conformity with the other two mirrors. In practice this doesn't matter
as it was already taking over 4 hours to finish and was starting again
right after its previous run.
2022-09-28 21:52:52 +03:00

19 lines
612 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: mirrorsync }
- { 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" }