Refactor the vault/secrets
This commit is contained in:
parent
11c339ce92
commit
28f2e9a33a
32 changed files with 144 additions and 83 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue