From 97097794924ae816dc1e083d32c60cfc164e631f Mon Sep 17 00:00:00 2001 From: Luca Berton Date: Thu, 6 Jul 2023 21:30:09 +0200 Subject: [PATCH] Fix 2.2.14 Corrected rule 2.2.14 Ensure dnsmasq is not installed (Automated). Signed-off-by: Luca Berton --- tasks/section_2/cis_2.2.x.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasks/section_2/cis_2.2.x.yml b/tasks/section_2/cis_2.2.x.yml index e592d17..8c6ccf6 100644 --- a/tasks/section_2/cis_2.2.x.yml +++ b/tasks/section_2/cis_2.2.x.yml @@ -228,9 +228,8 @@ ansible.builtin.package: name: dnsmasq state: absent - notify: Restart postfix when: - - not rhel9cis_is_mail_server + - not rhel9cis_dnsmasq_server - "'dnsmasq' in ansible_facts.packages" - rhel9cis_rule_2_2_14 tags: