Optimized svc-opt-ssd-hdd config

This commit is contained in:
Kevin Veen-Birkenbach 2025-07-15 14:58:15 +02:00
parent 253b088cdb
commit 959c48c1a1
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
2 changed files with 16 additions and 3 deletions

View File

@ -0,0 +1,11 @@
credentials:
postgres_password:
description: "Password for the PostgreSQL superuser 'postgres'"
algorithm: "bcrypt"
validation: "^\\$2[aby]\\$.{56}$"
path_rapid_storage:
description: "Mount path of the servers SSD"
path_mass_storage:
description: "Mount path of the servers HDD"

View File

@ -1,3 +1,5 @@
storage_optimizer_directory: '{{path_administrator_scripts}}svc-opt-ssd-hdd/'
storage_optimizer_script: '{{storage_optimizer_directory}}svc-opt-ssd-hdd.py'
application_id: svc-opt-ssd-hdd
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) }}"