From 72b503bf46fff97e122982d96098467b50401226 Mon Sep 17 00:00:00 2001 From: Ionut Pruteanu Date: Tue, 5 Dec 2023 14:42:51 +0200 Subject: [PATCH] Removing redundant conditional statements Signed-off-by: Ionut Pruteanu --- tasks/section_1/cis_1.6.1.x.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/tasks/section_1/cis_1.6.1.x.yml b/tasks/section_1/cis_1.6.1.x.yml index 724fd29a..7ca0fd1d 100644 --- a/tasks/section_1/cis_1.6.1.x.yml +++ b/tasks/section_1/cis_1.6.1.x.yml @@ -39,7 +39,6 @@ policy: "{{ rhel9cis_selinux_pol }}" state: "{{ rhel9cis_selinux_enforce }}" when: - - not rhel9cis_selinux_disable - rhel9cis_rule_1_6_1_3 tags: - level1-server @@ -54,7 +53,6 @@ policy: "{{ rhel9cis_selinux_pol }}" state: "{{ rhel9cis_selinux_enforce }}" when: - - not rhel9cis_selinux_disable - rhel9cis_rule_1_6_1_4 tags: - level1-server @@ -69,7 +67,6 @@ policy: "{{ rhel9cis_selinux_pol }}" state: enforcing when: - - not rhel9cis_selinux_disable - rhel9cis_selinux_enforce == 'enforcing' - rhel9cis_rule_1_6_1_5 tags: