From f14b3a37ad3d5101621479fac46494c5aa7e79f4 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Tue, 18 Jan 2022 13:18:28 +0000 Subject: [PATCH] logrotate pkg check Signed-off-by: Mark Bolwell --- tasks/section_4/cis_4.3.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/section_4/cis_4.3.yml b/tasks/section_4/cis_4.3.yml index 853a215..7e7fafb 100644 --- a/tasks/section_4/cis_4.3.yml +++ b/tasks/section_4/cis_4.3.yml @@ -17,6 +17,7 @@ - { path: "/etc/logrotate.conf" } when: - rhel9cis_rule_4_3 + - "'logrotate' in ansible_facts.packages" tags: - level1-server - level1-workstation