Fully resolve path to sanoid
Apparently cron didn't like just `sanoid`
This commit is contained in:
parent
a2e021ac43
commit
1bcb8f22b1
1 changed files with 2 additions and 2 deletions
|
@ -64,12 +64,12 @@
|
||||||
cron:
|
cron:
|
||||||
name: sanoid snapshot
|
name: sanoid snapshot
|
||||||
special_time: hourly
|
special_time: hourly
|
||||||
job: TZ=UTC sanoid --take-snapshots --verbose
|
job: TZ=UTC /usr/local/sbin/sanoid --take-snapshots --verbose
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Install prune job
|
- name: Install prune job
|
||||||
cron:
|
cron:
|
||||||
name: sanoid prune
|
name: sanoid prune
|
||||||
special_time: hourly
|
special_time: hourly
|
||||||
job: TZ=UTC sanoid --prune-snapshots --verbose
|
job: TZ=UTC /usr/local/sbin/sanoid --prune-snapshots --verbose
|
||||||
become: true
|
become: true
|
||||||
|
|
Loading…
Reference in a new issue