infrastructure/playbooks/matrix.archlinux.org.yml
Jan Alexander Steffens (heftig) 652185f380
matrix: Retune memory use a bit
Give more memory to the apps and less to postgres.
2021-06-01 18:44:21 +02:00

26 lines
666 B
YAML

---
- name: setup matrix
hosts: matrix.archlinux.org
remote_user: root
roles:
- { role: common }
- { role: tools }
- { role: firewalld }
- { role: sshd }
- { role: root_ssh }
- { role: borg_client, tags: ["borg"] }
- { role: certbot }
- { role: nginx }
- role: postgres
postgres_shared_buffers: 256MB
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 }
- { role: promtail }