Resolve zpool location
Hopefully this means they actually run
This commit is contained in:
parent
a2c6d7c276
commit
cc847a069c
1 changed files with 2 additions and 2 deletions
|
@ -7,9 +7,9 @@
|
|||
|
||||
- name: ZFS Scrub
|
||||
cron:
|
||||
name: zfs scrub {{ item }}
|
||||
name: scrub {{ item }} ZFS pool
|
||||
special_time: weekly
|
||||
job: zpool scrub {{ item }}
|
||||
job: "{{ lookup('pipe', 'which zpool') }} scrub {{ item }}"
|
||||
become: true
|
||||
loop: "{{ zpools_to_scrub }}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue