postgresql_users:
  - name: root
    role_attr_flags: SUPERUSER
    password: "{{  lookup('hashi_vault', 'secret=secrets/data/ansible/database:root')}}"
  - name: wikijs
    password: "{{  lookup('hashi_vault', 'secret=secrets/data/database/wikijs:password')}}"
  - name: ttrss
    password:  "{{  lookup('hashi_vault', 'secret=secrets/data/database/ttrss:password')}}"
  - name: gitea
    password: "{{  lookup('hashi_vault', 'secret=secrets/data/database/gitea:password')}}"
  - name: supysonic
    password: "{{  lookup('hashi_vault', 'secret=secrets/data/database/supysonic:password')}}"
  - name: hass
    password: "{{  lookup('hashi_vault', 'secret=secrets/data/database/homeassistant:password')}}"
  - name: vaultwarden
    password: "{{  lookup('hashi_vault', 'secret=secrets/data/database/vaultwarden:password')}}"
  - name: drone
    password: "{{  lookup('hashi_vault', 'secret=secrets/data/database/droneci:password')}}"
  - name: dendrite
    password: "{{  lookup('hashi_vault', 'secret=secrets/data/database/dendrite:password')}}"
  - name: paperless
    password: "{{  lookup('hashi_vault', 'secret=secrets/data/database/paperless:password')}}"
  - name: dump
    password: "{{  lookup('hashi_vault', 'secret=secrets/data/database/dump:password')}}"
  - name: vikunja
    password: "{{  lookup('hashi_vault', 'secret=secrets/data/database/vikunja:password')}}"
  - name: ghostfolio
    password: "{{  lookup('hashi_vault', 'secret=secrets/data/database/ghostfolio:password')}}"


postgresql_databases:
  - name: wikijs
    owner: wikijs
  - name: ttrss
    owner: ttrss
  - name: gitea
    owner: gitea
  - name: supysonic
    owner: supysonic
  - name: hass
    owner: hass
  - name: vaultwarden
    owner: vaultwarden
  - name: drone
    owner: drone
  - name: dendrite
    owner: dendrite
  - name: paperless
    owner: paperless
  - name: vikunja
    owner: vikunja
  - name: ghostfolio
    owner: ghostfolio