Refactor the vault/secrets

This commit is contained in:
Tobias Reisinger 2026-02-06 21:41:42 +01:00
parent 11c339ce92
commit 28f2e9a33a
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
32 changed files with 144 additions and 83 deletions

View file

@ -2,6 +2,8 @@
paperless_uid: 1000
paperless_gid: 1000
paperless_secret_key: "{{ undef() }}"
paperless_svc:
domain: "{{ all_services | service_get_domain(role_name) }}"
port: 8000
@ -11,7 +13,7 @@ paperless_env:
USERMAP_GID: "{{ paperless_gid }}"
PAPERLESS_URL: "https://{{ paperless_svc.domain }}"
PAPERLESS_SECRET_KEY: "{{ vault_paperless.secret_key }}"
PAPERLESS_SECRET_KEY: "{{ paperless_secret_key | mandatory }}"
PAPERLESS_TIME_ZONE: "{{ timezone }}"
PAPERLESS_OCR_LANGUAGE: deu