Allow configuring of pools to scrub

This commit is contained in:
Jake Howard 2021-01-09 20:52:51 +00:00
parent 721bdf60b3
commit 57d9c9d288
Signed by: jake
GPG Key ID: 57AFB45680EDD477
2 changed files with 6 additions and 2 deletions

View File

@ -1 +1,4 @@
docker_zfs_override: true
zpools_to_scrub:
- tank

View File

@ -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