Added get_domain function

This commit is contained in:
2025-05-17 14:53:55 +02:00
parent ad51597e2e
commit 3388d3c592
94 changed files with 288 additions and 141 deletions

View File

@@ -31,6 +31,6 @@ csp:
- "https://fonts.bunny.net"
script-src:
- "https://cdn.gtranslate.net"
- "{{ domains.wordpress[0] }}"
- "{{ domains | get_domain('wordpress') }}"
style-src:
- "https://fonts.bunny.net"

View File

@@ -11,7 +11,7 @@ discourse_settings:
- name: discourse_connect
key: url
value: "{{ web_protocol }}://{{ domains.discourse }}"
value: "{{ web_protocol }}://{{ domains | get_domain('discourse') }}"
- name: discourse_connect
key: api-key
value: "{{ vault_discourse_api_key }}"