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,6 +1,7 @@
---
# inherited from global
stack_grocy_subdomain: "house.{{ domain | default('example.org') }}"
stack_grocy_protocol: "{{ protocol | default('')}}"
stack_grocy_subdomain: "{{ stack_grocy_protocol }}house.{{ domain | default('example.org') }}"
stack_grocy_tz: "{{ timezone | default('America/Chicago') }}"
stack_grocy_puid: "{{ puid | default(1000) }}"
stack_grocy_pgid: "{{ pgid | default(100) }}"