Big restructuring

This commit is contained in:
2025-05-20 00:13:45 +02:00
parent efe994a4c5
commit f748f9cef1
44 changed files with 697 additions and 469 deletions

View File

@@ -1,4 +1,3 @@
source_directory: "{{ playbook_dir }}/assets" # Directory from which the assets will be copied
url: >-
{{ (web_protocol ~ '://' ~ domains.file_server | safe_var ~ '/assets')
if domains.file_server | safe_var else '' }}
source_directory: "{{ playbook_dir }}/assets"
url: "{{ web_protocol ~ '://' ~ 'file-server'
| load_configuration('domains.canonical[0]') ~ '/assets' }}"

View File

@@ -1,3 +1,3 @@
application_id: "assets_server" # Application identifier
application_id: "assets-server" # Application identifier
source_directory: "{{ applications[application_id].source_directory }}/" # Source directory from which the files are coming from
target_directory: "{{ nginx.directories.data.files }}assets" # Directory to which the files will be copied