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
|
- role: update
|
||||||
when: mode_update | bool
|
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
|
- name: setup standard wireguard
|
||||||
hosts: wireguard_server
|
hosts: wireguard_server
|
||||||
become: true
|
become: true
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
- name: "reload storage-optimizer service"
|
- name: "start storage-optimizer service"
|
||||||
systemd:
|
systemd:
|
||||||
name: storage-optimizer.cymais.service
|
name: backup-docker-to-local-everything.cymais.service
|
||||||
daemon_reload: yes
|
state: started
|
@ -8,11 +8,11 @@
|
|||||||
template:
|
template:
|
||||||
src: storage-optimizer.service.j2
|
src: storage-optimizer.service.j2
|
||||||
dest: /etc/systemd/system/storage-optimizer.cymais.service
|
dest: /etc/systemd/system/storage-optimizer.cymais.service
|
||||||
notify: reload storage-optimizer service
|
notify: start storage-optimizer service
|
||||||
|
|
||||||
- name: create storage-optimizer.py
|
- name: create storage-optimizer.py
|
||||||
template:
|
template:
|
||||||
src: storage-optimizer.py.j2
|
src: storage-optimizer.py.j2
|
||||||
dest: "{{storage_optimizer_script}}"
|
dest: "{{storage_optimizer_script}}"
|
||||||
mode: 0755
|
mode: 0755
|
||||||
notify: reload storage-optimizer service
|
notify: start storage-optimizer service
|
Loading…
Reference in New Issue
Block a user