Another big round of refactoring and cleaning...

This commit is contained in:
2025-07-11 17:55:26 +02:00
parent aa61bf2a44
commit 168c5c0da6
323 changed files with 761 additions and 811 deletions

View File

@@ -0,0 +1,22 @@
- name: "create {{storage_optimizer_directory}}"
file:
path: "{{storage_optimizer_directory}}"
state: directory
mode: 0755
- name: create sys-opt-ssd-hdd.cymais.service
template:
src: sys-opt-ssd-hdd.service.j2
dest: /etc/systemd/system/sys-opt-ssd-hdd.cymais.service
notify: reload sys-opt-ssd-hdd.cymais.service
- name: create sys-opt-ssd-hdd.py
copy:
src: sys-opt-ssd-hdd.py
dest: "{{storage_optimizer_script}}"
mode: 0755
- name: "optimize storage performance"
systemd:
name: sys-opt-ssd-hdd.cymais.service
state: started