mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2026-08-06 11:13:08 +02:00
Fixes #702. Co-authored-by: Kristian Klausen <kristian@klausen.dk>
24 lines
863 B
YAML
24 lines
863 B
YAML
- name: Setup gitlab server
|
|
hosts: gitlab.archlinux.org
|
|
remote_user: root
|
|
roles:
|
|
- { role: common }
|
|
- { role: firewalld }
|
|
- { role: wireguard }
|
|
- { role: sshd }
|
|
- { role: root_ssh }
|
|
- { role: anubis }
|
|
- { role: certbot }
|
|
- { role: nginx }
|
|
- { role: gitlab,
|
|
gitlab_domain: "gitlab.archlinux.org",
|
|
gitlab_pages_domain: "archlinux.page",
|
|
gitlab_registry_domain: "registry.archlinux.org",
|
|
gitlab_primary_addresses: ['213.133.111.15', '[2a01:4f8:222:174c::1]', '127.0.0.1', '[::1]'],
|
|
gitlab_pages_http_addresses: ['213.133.111.6:80', '[2a01:4f8:222:174c::2]:80'],
|
|
gitlab_pages_https_addresses: ['213.133.111.6:443', '[2a01:4f8:222:174c::2]:443']}
|
|
- { role: borg_client, tags: ["borg"] }
|
|
- { role: prometheus_exporters }
|
|
- { role: promtail }
|
|
- { role: fail2ban }
|