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