mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-25 06:01:04 +01:00
Optimized storage optimizer
This commit is contained in:
parent
3ee5617f6d
commit
0eaf152640
@ -7,6 +7,13 @@
|
||||
- role: update
|
||||
when: mode_update | bool
|
||||
|
||||
- name: optimize storage performance
|
||||
hosts: all
|
||||
become: true
|
||||
roles:
|
||||
- role: storage-optimizer
|
||||
when: path_mass_storage or path_rapid_storage
|
||||
|
||||
- name: setup standard wireguard
|
||||
hosts: wireguard_server
|
||||
become: true
|
||||
|
@ -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
|
@ -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
|
Loading…
Reference in New Issue
Block a user