---

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