Ensure cron tasks are run as the right user
Looks like by default they're installed as the current user, not root. Bad ansible documentation!
This commit is contained in:
@ -13,6 +13,7 @@
|
||||
name: zfs scrub
|
||||
special_time: weekly
|
||||
job: zpool scrub tank
|
||||
become: true
|
||||
|
||||
- name: Sanoid
|
||||
include: sanoid.yml
|
||||
|
@ -14,3 +14,4 @@
|
||||
name: sanoid
|
||||
special_time: hourly
|
||||
job: TZ=UTC sanoid --cron
|
||||
become: true
|
||||
|
Reference in New Issue
Block a user