From 81fd98e2c63bc6ffcedcd77203be6124cf4d8976 Mon Sep 17 00:00:00 2001 From: Ionut Pruteanu Date: Thu, 7 Dec 2023 20:38:20 +0200 Subject: [PATCH] Using correct conditional for Task relying on 'firewall-cmd --get-active-zones' cmd Signed-off-by: Ionut Pruteanu --- tasks/section_3/cis_3.4.2.x.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/section_3/cis_3.4.2.x.yml b/tasks/section_3/cis_3.4.2.x.yml index 73d85f4..ee57e5b 100644 --- a/tasks/section_3/cis_3.4.2.x.yml +++ b/tasks/section_3/cis_3.4.2.x.yml @@ -194,6 +194,7 @@ - "{{ rhel9cis_3_4_2_5_servicesport.stdout_lines }}" when: - rhel9cis_rule_3_4_2_5 + - rhel9cis_firewall == "firewalld" tags: - level1-server - level1-workstation