Files
infrastructure/playbooks/repos.archlinux.org.yml
Robin Candau 0398db129f Generalize the "arch_boxes_sync" ansible role to handle other images types and add the WSL images to it
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.
2025-04-17 22:33:19 +02:00

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 }