Optimized storage optimizer

This commit is contained in:
2024-01-10 12:46:45 +01:00
parent 3ee5617f6d
commit 0eaf152640
3 changed files with 12 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
- name: "reload storage-optimizer service"
- name: "start storage-optimizer service"
systemd:
name: storage-optimizer.cymais.service
daemon_reload: yes
name: backup-docker-to-local-everything.cymais.service
state: started

View File

@@ -8,11 +8,11 @@
template:
src: storage-optimizer.service.j2
dest: /etc/systemd/system/storage-optimizer.cymais.service
notify: reload storage-optimizer service
notify: start storage-optimizer service
- name: create storage-optimizer.py
template:
src: storage-optimizer.py.j2
dest: "{{storage_optimizer_script}}"
mode: 0755
notify: reload storage-optimizer service
notify: start storage-optimizer service