From 01d558492b0f999e4bd35c4f2de13f53ddbe8562 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Thu, 13 Mar 2025 16:28:45 +0000 Subject: [PATCH] Fix AIDE on RHEL --- tasks/aide.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/aide.yaml b/tasks/aide.yaml index 2391e38..36c2390 100644 --- a/tasks/aide.yaml +++ b/tasks/aide.yaml @@ -22,7 +22,7 @@ !{{ directory }} {% endfor %} when: - - cis_aide_config_path + - cis_aide_config_path is defined - cis_aide_excluded_directories is defined - name: Add excluded folders to AIDE, if defined @@ -34,7 +34,7 @@ !{{ directory }} {% endfor %} when: - - not cis_aide_config_path + - cis_aide_config_path is not defined - cis_aide_excluded_directories is defined - name: Install AIDE crontab