mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2024-09-28 18:31:59 +02:00
6d813e52fb
Databases used by sogrep are fetched by syncrepo from gemini, no point in duplicating this work; consider this to be part of roles/dbscripts.
28 lines
1019 B
YAML
28 lines
1019 B
YAML
---
|
|
|
|
- name: setup gemini.archlinux.org
|
|
hosts: gemini.archlinux.org
|
|
remote_user: root
|
|
vars:
|
|
archweb_db_host: 'archlinux.org'
|
|
dbscripts_commit: '20191022'
|
|
roles:
|
|
- { role: common }
|
|
- { role: tools }
|
|
- { role: firewalld }
|
|
- { 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", svntogit_repos: "/srv/svntogit/repos", postgres_ssl: 'on', tags: ['archusers'] }
|
|
- { role: archweb, archweb_site: false, archweb_services: true, archweb_mirrorcheck_locations: [5, 6] }
|
|
- { role: sources, sources_domain: "sources.archlinux.org", sources_dir: "/srv/sources" }
|
|
- { role: archive }
|
|
- { role: archive_web }
|
|
- { role: postfix, postfix_relayhost: "mail.archlinux.org" }
|
|
- { role: fail2ban }
|
|
- { role: prometheus_exporters }
|