roles: Add inherited protocol for subdomains

Can be set globally ('protocol: http://') or per stack.
Defaults to empty which caddy treats as https.
This commit is contained in:
Marty Oehme 2025-07-17 17:48:31 +02:00
parent 0ce9d700b2
commit 2eab9d35d3
Signed by: Marty
GPG key ID: 4E535BC19C61886E
3 changed files with 18 additions and 15 deletions

View file

@ -1,7 +1,8 @@
---
# inherited from global
stack_paperless_subdomain: "documents.{{ domain | default('example.org') }}"
stack_paperless_protocol: "{{ protocol | default('')}}"
stack_paperless_subdomain: "{{ stack_paperless_protocol }}documents.{{ domain | default('example.org') }}"
stack_paperless_tz: "{{ timezone | default('America/Chicago') }}"
stack_paperless_puid: "{{ puid | default(1000) }}"
stack_paperless_pgid: "{{ pgid | default(100) }}"