mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2024-12-27 00:08:33 +01:00
Set PATH in crontab file.
This commit is contained in:
parent
fecacf36d9
commit
ff191a5954
@ -46,3 +46,11 @@
|
||||
user: "root"
|
||||
cron_file: borgmatic
|
||||
job: "/usr/local/bin/borgmatic"
|
||||
|
||||
- name: Set PATH for borgmatic cron job.
|
||||
cron:
|
||||
user: "root"
|
||||
cron_file: borgmatic
|
||||
name: PATH
|
||||
env: yes
|
||||
value: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
Loading…
Reference in New Issue
Block a user