mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2026-09-06 23:44:07 +02:00
The role is now called "arch_images_sync" and iterates over arguments to handle other images types in a dedicated path in the ftp directory. It now also handles the WSL images.
25 lines
887 B
YAML
25 lines
887 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: archusers }
|
|
- { role: dbscripts, repos_domain: "repos.archlinux.org", repos_rsync_domain: "rsync.archlinux.org", tags: ['archusers'] }
|
|
- { role: arch_images_sync }
|
|
- { role: archweb, archweb_site: false, archweb_services: true }
|
|
- { role: sources, sources_domain: "sources.archlinux.org", sources_dir: "/srv/sources" }
|
|
- { role: fail2ban }
|
|
- { role: prometheus_exporters }
|
|
- { role: promtail }
|