---

- name: setup Keycloak server
  hosts: accounts.archlinux.org
  remote_user: root
  roles:
    - { role: common }
    - { role: firewalld }
    - { role: wireguard }
    - { role: sshd }
    - { role: root_ssh }
    - { role: prometheus_exporters }
    - { role: certbot }
    - { role: nginx }
    - role: postgres
      postgres_shared_buffers: 500MB
      postgres_work_mem: 32MB
      postgres_maintenance_work_mem: 1GB
      postgres_effective_cache_size: 1GB
    - { role: keycloak }
    - { role: borg_client, tags: ["borg"] }
    - { role: fail2ban }
    - { role: promtail }
