include btrfs maintenance scripts to lbu
parent
ad139b81f2
commit
8e760bc968
|
@ -14,6 +14,15 @@
|
||||||
- "btr_scrub.sh"
|
- "btr_scrub.sh"
|
||||||
- "fs_trim.sh"
|
- "fs_trim.sh"
|
||||||
|
|
||||||
|
- name: include btrfs maintainance scripts to lbu
|
||||||
|
lbu:
|
||||||
|
include:
|
||||||
|
- /usr/local/bin/btr_defrag.sh
|
||||||
|
- /usr/local/bin/btr_balance.sh
|
||||||
|
- /usr/local/bin/btr_scrub.sh
|
||||||
|
- /usr/local/bin/fs_trim.sh
|
||||||
|
when: ansible_distribution == "Alpine" and alpine_mode in ["diskless", "data"]
|
||||||
|
|
||||||
- name: copy btrbk config
|
- name: copy btrbk config
|
||||||
copy:
|
copy:
|
||||||
src: "host_files/btrbk/{{ ansible_hostname }}/btrbk.conf"
|
src: "host_files/btrbk/{{ ansible_hostname }}/btrbk.conf"
|
||||||
|
|
Loading…
Reference in New Issue