1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/playbooks/repos.archlinux.org.yml
Christian Heusel c31dd3309d
prepare the split of repo and archive server
related to https://gitlab.archlinux.org/archlinux/infrastructure/-/issues/531

Co-authored-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Christian Heusel <christian@heusel.eu>
2024-05-04 22:14:41 +02:00

22 lines
650 B
YAML

- name: Setup repos.archlinux.org
hosts: repos.archlinux.org
remote_user: root
vars:
archweb_db_host: "{{ hostvars['archlinux.org']['wireguard_address'] }}"
roles:
- { role: common }
- { role: tools }
- { role: firewalld }
- { role: wireguard }
- { role: sshd }
- { role: root_ssh }
- { role: borg_client, tags: ['borg'] }
- { role: sudo, tags: ['archusers'] }
# - { role: certbot }
- { role: nginx }
- { role: fail2ban }
- { role: mirrorsync }
- { role: prometheus_exporters }
- { role: promtail }
- { role: repo_archive_split_temp, repos_rsync_domain: "rsync.archlinux.org" }