From 97502b3987c262db712077bcb60a0a82f7f91052 Mon Sep 17 00:00:00 2001 From: layluke Date: Thu, 3 Oct 2024 16:39:51 -0400 Subject: [PATCH 1/2] removed check for aide being already installed Signed-off-by: layluke --- tasks/Cat2/RHEL-09-65xxxx.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/tasks/Cat2/RHEL-09-65xxxx.yml b/tasks/Cat2/RHEL-09-65xxxx.yml index 95d196f..f0469cc 100644 --- a/tasks/Cat2/RHEL-09-65xxxx.yml +++ b/tasks/Cat2/RHEL-09-65xxxx.yml @@ -4,7 +4,6 @@ when: - rhel_09_651010 - rhel9stig_use_aide - - "'aide' not in ansible_facts.packages" tags: - RHEL-09-651010 - CAT2 From 7850afb55f6ab4a7e4388c331a7b614c2fbedf32 Mon Sep 17 00:00:00 2001 From: layluke Date: Thu, 3 Oct 2024 17:34:14 -0400 Subject: [PATCH 2/2] Force notify even when package is present for aide Signed-off-by: layluke --- tasks/Cat2/RHEL-09-65xxxx.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/Cat2/RHEL-09-65xxxx.yml b/tasks/Cat2/RHEL-09-65xxxx.yml index f0469cc..f665a0d 100644 --- a/tasks/Cat2/RHEL-09-65xxxx.yml +++ b/tasks/Cat2/RHEL-09-65xxxx.yml @@ -17,6 +17,7 @@ - NIST800-53R4_SI-6 - aide notify: Build_aide_db + changed_when: true ansible.builtin.package: name: aide state: present