Fully resolve path to sanoid

Apparently cron didn't like just `sanoid`
This commit is contained in:
Jake Howard 2020-08-20 21:24:33 +01:00
parent a2e021ac43
commit 1bcb8f22b1
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -64,12 +64,12 @@
cron:
name: sanoid snapshot
special_time: hourly
job: TZ=UTC sanoid --take-snapshots --verbose
job: TZ=UTC /usr/local/sbin/sanoid --take-snapshots --verbose
become: true
- name: Install prune job
cron:
name: sanoid prune
special_time: hourly
job: TZ=UTC sanoid --prune-snapshots --verbose
job: TZ=UTC /usr/local/sbin/sanoid --prune-snapshots --verbose
become: true