Solved drive optimizer path bug

This commit is contained in:
Kevin Veen-Birkenbach 2025-07-22 08:33:58 +02:00
parent 4501c31756
commit 4826de621e
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
3 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,2 @@
# Todos
- Figure out why configuration in repo wasn't possible

View File

@ -0,0 +1,3 @@
volumes:
mass_storage: /mnt/hdd/
rapid_storage: /mnt/ssd/

View File

@ -1,5 +1,5 @@
application_id: svc-opt-ssd-hdd
storage_optimizer_directory: '{{ path_administrator_scripts }}{{ application_id }}/'
storage_optimizer_script: '{{ storage_optimizer_directory }}{{ application_id }}.py'
path_rapid_storage: "{{ applications | get_app_conf(application_id, 'path_rapid_storage', False) }}"
path_mass_storage: "{{ applications | get_app_conf(application_id, 'path_mass_storage', False) }}"
path_rapid_storage: "{{ applications | get_app_conf(application_id, 'volumes.rapid_storage') }}"
path_mass_storage: "{{ applications | get_app_conf(application_id, 'volumes.mass_storage') }}"