From 3c55999ce4b5baf95bfb58e24b6301f6fe56510c Mon Sep 17 00:00:00 2001 From: Christian Zunker Date: Thu, 3 May 2018 07:29:44 +0200 Subject: [PATCH] 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 --- tasks/rhel7stig/aide.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/rhel7stig/aide.yml b/tasks/rhel7stig/aide.yml index e4c562f4..2343f464 100644 --- a/tasks/rhel7stig/aide.yml +++ b/tasks/rhel7stig/aide.yml @@ -131,7 +131,7 @@ cron_file: aide user: root 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: - ansible_pkg_mgr in ['yum', 'zypper'] tags: