mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Big restructuring
This commit is contained in:
@@ -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' }}"
|
@@ -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
|
||||
|
Reference in New Issue
Block a user