1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-09-28 18:31:59 +02:00
infrastructure/playbooks/matrix.archlinux.org.yml
Jan Alexander Steffens (heftig) 458217f45d
matrix: Raise postgres_effective_cache_size
Seems we run at about 5GB of cache. Let postgres assume it gets 4GB.
2020-12-12 13:36:41 +01:00

27 lines
663 B
YAML

---
- name: setup matrix
hosts: matrix.archlinux.org
remote_user: root
roles:
- { role: common }
- { role: tools }
- { role: firewalld }
- { role: sshd }
- { role: unbound }
- { role: root_ssh }
- { role: borg_client, tags: ["borg"] }
- { role: certbot }
- { role: nginx }
- role: postgres
postgres_shared_buffers: 1GB
postgres_work_mem: 64MB
postgres_maintenance_work_mem: 256MB
postgres_effective_cache_size: 4GB
postgres_jit: 'off'
- role: postfix
postfix_relayhost: "mail.archlinux.org"
- { role: matrix }
- { role: fail2ban }
- { role: prometheus_exporters }