Use absolute path for aide binary in cronjob
/sbin is not included in the path for this cronjob, so use absolute path. Change-Id: Idc11d83858a585041f7df2fe1657d20fd620a248 Closes-Bug: 1768726
This commit is contained in:
parent
c37247e83c
commit
3c55999ce4
|
@ -131,7 +131,7 @@
|
||||||
cron_file: aide
|
cron_file: aide
|
||||||
user: root
|
user: root
|
||||||
special_time: daily
|
special_time: daily
|
||||||
job: "aide --check | /bin/mail -s \"$HOSTNAME - Daily aide integrity check run\" root"
|
job: "/sbin/aide --check | /bin/mail -s \"$HOSTNAME - Daily aide integrity check run\" root"
|
||||||
when:
|
when:
|
||||||
- ansible_pkg_mgr in ['yum', 'zypper']
|
- ansible_pkg_mgr in ['yum', 'zypper']
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in New Issue