Added safe_var function

This commit is contained in:
2025-05-17 12:45:45 +02:00
parent 1c0224d1df
commit cc399e3899
4 changed files with 84 additions and 5 deletions

View File

@@ -1,2 +1,4 @@
source_directory: "{{ playbook_dir }}/assets" # Directory from which the assets will be copied
url: "{{ web_protocol }}://{{domains.file_server}}/assets" # Public address of the assets directory
source_directory: "{{ playbook_dir }}/assets" # Directory from which the assets will be copied
url: >-
{{ (web_protocol ~ '://' ~ domains.file_server | safe_var ~ '/assets')
if applications.assets_server.url | safe_var else '' }}