add zfs scrub
This commit is contained in:
7
zfs-scrub.yaml
Normal file
7
zfs-scrub.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
- name: Start ZFS scrub
|
||||||
|
hosts: all
|
||||||
|
become: yes
|
||||||
|
user: root
|
||||||
|
tasks:
|
||||||
|
- name: Get list of ZFS pools
|
||||||
|
shell: zpool list -H -o name | xargs -n1 zpool scrub
|
||||||
Reference in New Issue
Block a user