Resolve zpool location

Hopefully this means they actually run
This commit is contained in:
Jake Howard 2021-01-22 15:29:41 +00:00
parent a2c6d7c276
commit cc847a069c
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

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