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/ansible/database:wikijs')}}"
  - name: ttrss
    password:  "{{  lookup('hashi_vault', 'secret=secrets/data/ansible/database:ttrss')}}"
  - name: gitea
    password: "{{  lookup('hashi_vault', 'secret=secrets/data/ansible/database:gitea')}}"
  - name: supysonic
    password: "{{  lookup('hashi_vault', 'secret=secrets/data/ansible/database:supysonic')}}"
  - name: hass
    password: "{{  lookup('hashi_vault', 'secret=secrets/data/ansible/database:hass')}}"
  - name: nextcloud
    password: "{{  lookup('hashi_vault', 'secret=secrets/data/ansible/database:nextcloud')}}"
  - name: vaultwarden
    password: "{{  lookup('hashi_vault', 'secret=secrets/data/ansible/database:vaultwarden')}}"
  - name: drone
    password: "{{  lookup('hashi_vault', 'secret=secrets/data/ansible/database:drone')}}"
  - name: dendrite
    password: "{{  lookup('hashi_vault', 'secret=secrets/data/ansible/database:dendrite')}}"

postgresql_databases:
  - name: wikijs
    lc_collate: fr_FR.UTF-8
    lc_ctype: en_US.UTF-8
    owner: wikijs
  - name: ttrss
    lc_collate: fr_FR.UTF-8
    lc_ctype: fr_FR.UTF-8
    owner: ttrss
  - name: gitea
    lc_collate: fr_FR.UTF-8
    lc_ctype: fr_FR.UTF-8
    owner: gitea
  - name: supysonic
    lc_collate: fr_FR.UTF-8
    lc_ctype: fr_FR.UTF-8
    owner: supysonic
  - name: hass
    lc_collate: fr_FR.UTF-8
    lc_ctype: fr_FR.UTF-8
    owner: hass
  - name: nextcloud
    lc_collate: fr_FR.UTF-8
    lc_ctype: fr_FR.UTF-8
    owner: nextcloud
  - name: vaultwarden
    lc_collate: fr_FR.UTF-8
    lc_ctype: fr_FR.UTF-8
    owner: vaultwarden
  - name: drone
    lc_collate: fr_FR.UTF-8
    lc_ctype: fr_FR.UTF-8
    owner: drone
  - name: dendrite
    lc_collate: fr_FR.UTF-8
    lc_ctype: fr_FR.UTF-8
    owner: dendrite