Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • antiz/infrastructure
  • okabe/infrastructure
  • eworm/infrastructure
  • polyzen/infrastructure
  • pitastrudl/infrastructure
  • sjon/infrastructure
  • torxed/infrastructure
  • jinmiaoluo/infrastructure
  • moson/infrastructure
  • serebit/infrastructure
  • ivabus/infrastructure
  • lb-wilson/infrastructure
  • gromit/infrastructure
  • matt-1-2-3/infrastructure
  • jocke-l/infrastructure
  • alucryd/infrastructure
  • maximbaz/infrastructure
  • ainola/infrastructure
  • segaja/infrastructure
  • nl6720/infrastructure
  • peanutduck/infrastructure
  • aminvakil/infrastructure
  • xenrox/infrastructure
  • felixonmars/infrastructure
  • denisse/infrastructure
  • artafinde/infrastructure
  • jleclanche/infrastructure
  • kpcyrd/infrastructure
  • metalmatze/infrastructure
  • kevr/infrastructure
  • dvzrv/infrastructure
  • dhoppe/infrastructure
  • ekkelett/infrastructure
  • seblu/infrastructure
  • lahwaacz/infrastructure
  • klausenbusk/infrastructure
  • alerque/infrastructure
  • hashworks/infrastructure
  • foxboron/infrastructure
  • shibumi/infrastructure
  • lambdaclan/infrastructure
  • ffy00/infrastructure
  • freswa/infrastructure
  • archlinux/infrastructure
44 results
Show changes
Showing
with 30 additions and 46 deletions
- name: basic setup for all hosts
- name: Basic setup for all hosts
hosts: all
remote_user: root
roles:
- { role: common }
- { role: firewalld }
- { role: wireguard }
# reconfiguring sshd may break the AUR on luna (unchecked)
# - { role: sshd, tags: ['sshd'] }
- { role: sshd }
- { role: root_ssh }
- { role: borg_client, tags: ["borg"], when: "'borg_clients' in group_names" }
- { role: hardening }
......
- name: common playbook for archive-mirrors
- name: Common playbook for archive-mirrors
hosts: archive_mirrors
remote_user: root
roles:
......@@ -10,7 +10,7 @@
- { role: root_ssh }
- { role: certbot }
- { role: nginx }
- { role: syncarchive }
- { role: mirrorsync }
- { role: archive_web }
- { role: prometheus_exporters }
- { role: promtail }
- name: "prepare postgres ssl hosts list"
- name: Prepare postgres ssl hosts list
hosts: archlinux.org
tasks:
- name: assign ipv4 addresses to fact postgres_hosts4
- name: Assign ipv4 addresses to fact postgres_hosts4
set_fact: postgres_hosts4="{{ [gemini4] + detected_ips }}"
vars:
gemini4: "{{ hostvars['gemini.archlinux.org']['wireguard_address'] }}/32"
detected_ips: "{{ groups['mirrors'] | map('extract', hostvars, ['wireguard_address']) | select() | map('regex_replace', '^(.+)$', '\\1/32') | list }}"
tags: ["postgres", "firewall"]
- name: setup archlinux.org
- name: Setup archlinux.org
hosts: archlinux.org
remote_user: root
roles:
......
- name: setup aur.archlinux.org
- name: Setup aur.archlinux.org
hosts: aur.archlinux.org
remote_user: root
roles:
- { role: common }
- { role: sshd, sshd_enable_includes: true }
- { role: sshd }
- { role: root_ssh }
- { role: prometheus_exporters }
- { role: promtail }
......
- name: setup bbs.archlinux.org
- name: Setup bbs.archlinux.org
hosts: bbs.archlinux.org
remote_user: root
roles:
......
- name: setup bugs.archlinux.org
- name: Setup bugs.archlinux.org
hosts: bugs.archlinux.org
remote_user: root
roles:
......
- name: setup build.archlinux.org
- name: Setup build.archlinux.org
hosts: build.archlinux.org
remote_user: root
roles:
......@@ -8,7 +8,7 @@
- { role: root_ssh }
- { role: archusers }
- { role: sudo, tags: ['archusers'] }
- { role: syncrepo }
- { role: mirrorsync }
- { role: archbuild }
- { role: fail2ban }
- { role: prometheus_exporters }
......
- name: setup public dashboards server
- name: Setup public dashboards server
hosts: dashboards.archlinux.org
remote_user: root
roles:
......
- name: setup debuginfod.archlinux.org
- name: Setup debuginfod.archlinux.org
hosts: debuginfod.archlinux.org
remote_user: root
roles:
......@@ -11,6 +11,6 @@
- { role: certbot }
- { role: nginx }
- { role: debuginfod }
- { role: syncdebug }
- { role: mirrorsync }
- { role: prometheus_exporters }
- { role: promtail }
- name: setup gemini.archlinux.org
- name: Setup gemini.archlinux.org
hosts: gemini.archlinux.org
remote_user: root
vars:
......
- name: setup gitlab-runners
- name: Setup gitlab-runners
hosts: gitlab_runners
remote_user: root
roles:
......@@ -11,4 +11,5 @@
- { role: fail2ban }
- { role: prometheus_exporters }
- { role: promtail }
- { role: libvirt, when: "'gitlab_vm_runners' in group_names" }
- { role: gitlab_runner }
- name: setup gitlab server
- name: Setup gitlab server
hosts: gitlab.archlinux.org
remote_user: root
roles:
......
- name: setup gluebuddy.archlinux.org
- name: Setup gluebuddy.archlinux.org
hosts: gluebuddy.archlinux.org
remote_user: root
roles:
......
- name: setup Hetzner storagebox account
- name: Setup Hetzner storagebox account
hosts: localhost
gather_facts: false
vars_files:
......
- name: setup homedir.archlinux.org
- name: Setup homedir.archlinux.org
hosts: homedir.archlinux.org
remote_user: root
roles:
......
- name: setup mailman server
- name: Setup mailman server
hosts: lists.archlinux.org
remote_user: root
roles:
......@@ -8,7 +8,7 @@
- { role: sshd }
- { role: root_ssh }
- { role: hardening }
- { role: borg_client, tags: ["borg"], when: "'borg_clients' in group_names" }
- { role: borg_client, tags: ["borg"] }
- { role: prometheus_exporters }
- { role: promtail }
- { role: certbot }
......@@ -17,4 +17,5 @@
- { role: rspamd, rspamd_dkim_domain: lists.archlinux.org, rspamd_dkim_use_esld: false, tags: ["mail"] }
- { role: unbound, unbound_port: 5353, tags: ["mail"] }
- { role: uwsgi }
- { role: postgres }
- { role: mailman }
- name: setup mail.archlinux.org
- name: Setup mail.archlinux.org
hosts: mail.archlinux.org
remote_user: root
roles:
......
- name: setup mailman3 server
hosts: mailman3.archlinux.org
remote_user: root
roles:
- { role: common }
- { role: firewalld }
- { role: wireguard }
- { role: sshd }
- { role: root_ssh }
- { role: hardening }
- { role: borg_client, tags: ["borg"] }
- { role: prometheus_exporters }
- { role: promtail }
- { role: nginx, nginx_firewall_zone: wireguard }
- { role: uwsgi }
- { role: postgres }
- { role: mailman3 }
- name: setup man.archlinux.org
- name: Setup man.archlinux.org
hosts: man.archlinux.org
remote_user: root
roles:
......@@ -15,4 +15,4 @@
- { role: promtail }
- { role: postgres }
- { role: uwsgi }
- { role: archmanweb, archmanweb_version: 'v1.3' }
- { role: archmanweb, archmanweb_version: 'v1.6' }
- name: setup matrix
- name: Setup matrix
hosts: matrix.archlinux.org
remote_user: root
vars_files:
......