diff --git a/zfs-scrub.yaml b/zfs-scrub.yaml new file mode 100644 index 0000000..79798e0 --- /dev/null +++ b/zfs-scrub.yaml @@ -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