diff --git a/tasks/section_3/cis_3.4.2.x.yml b/tasks/section_3/cis_3.4.2.x.yml index 38c1efa..540bda0 100644 --- a/tasks/section_3/cis_3.4.2.x.yml +++ b/tasks/section_3/cis_3.4.2.x.yml @@ -10,8 +10,7 @@ - name: "3.4.2.1 | AUDIT | Ensure firewalld default zone is set" ansible.builtin.command: firewall-cmd --set-default-zone="{{ rhel9cis_default_zone }}" - when: - - firewalld_zone_set.rc != 0 + when: firewalld_zone_set.rc != 0 when: - rhel9cis_firewall == "firewalld" - rhel9cis_rule_3_4_2_1