infrastructure/playbooks/md.archlinux.org.yml
2021-05-16 13:54:34 +02:00

23 lines
607 B
YAML

---
- name: setup hedgedoc server
hosts: md.archlinux.org
remote_user: root
roles:
- { role: common }
- { role: tools }
- { role: firewalld }
- { role: sshd }
- { role: root_ssh }
- { role: fail2ban }
- { role: borg_client, tags: ["borg"] }
- { role: nginx }
- { role: certbot }
- role: postgres
postgres_max_connections: 100
postgres_ssl: 'off'
postgres_shared_buffers: 512MB
postgres_effective_cache_size: 1GB
- { role: hedgedoc, hedgedoc_domain: "md.archlinux.org" }
- { role: prometheus_exporters }
- { role: promtail }