Allow configuring of pools to scrub
This commit is contained in:
parent
721bdf60b3
commit
57d9c9d288
2 changed files with 6 additions and 2 deletions
|
@ -1 +1,4 @@
|
|||
docker_zfs_override: true
|
||||
|
||||
zpools_to_scrub:
|
||||
- tank
|
||||
|
|
|
@ -6,10 +6,11 @@
|
|||
|
||||
- name: ZFS Scrub
|
||||
cron:
|
||||
name: zfs scrub
|
||||
name: zfs scrub {{ item }}
|
||||
special_time: weekly
|
||||
job: zpool scrub tank
|
||||
job: zpool scrub {{ item }}
|
||||
become: true
|
||||
loop: "{{ zpools_to_scrub }}"
|
||||
|
||||
- name: Sanoid
|
||||
include: sanoid.yml
|
||||
|
|
Loading…
Reference in a new issue