summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zunker <christian.zunker@codecentric.cloud>2018-05-03 07:29:44 +0200
committerChristian Zunker <christian.zunker@codecentric.cloud>2018-05-03 07:31:49 +0200
commit3c55999ce4b5baf95bfb58e24b6301f6fe56510c (patch)
tree869208cf36ba933580f8efecfeeea6707cf23351
parentc37247e83c9a13606f8aba0dcf3e5a10e0e5d6cb (diff)
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
Notes
Notes (review): Code-Review+2: Jesse Pretorius (odyssey4me) <jesse.pretorius@rackspace.co.uk> Code-Review+2: Jean-Philippe Evrard <jean-philippe@evrard.me> Workflow+1: Jean-Philippe Evrard <jean-philippe@evrard.me> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 09 May 2018 09:26:43 +0000 Reviewed-on: https://review.openstack.org/565960 Project: openstack/ansible-hardening Branch: refs/heads/master
-rw-r--r--tasks/rhel7stig/aide.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/rhel7stig/aide.yml b/tasks/rhel7stig/aide.yml
index e4c562f..2343f46 100644
--- a/tasks/rhel7stig/aide.yml
+++ b/tasks/rhel7stig/aide.yml
@@ -131,7 +131,7 @@
131 cron_file: aide 131 cron_file: aide
132 user: root 132 user: root
133 special_time: daily 133 special_time: daily
134 job: "aide --check | /bin/mail -s \"$HOSTNAME - Daily aide integrity check run\" root" 134 job: "/sbin/aide --check | /bin/mail -s \"$HOSTNAME - Daily aide integrity check run\" root"
135 when: 135 when:
136 - ansible_pkg_mgr in ['yum', 'zypper'] 136 - ansible_pkg_mgr in ['yum', 'zypper']
137 tags: 137 tags: