Skip to content

Commit

Permalink
Merge pull request #129 from siemens/siemens/feat/removingRedundantCo…
Browse files Browse the repository at this point in the history
…nditionals

Removing redundant conditional statements
  • Loading branch information
uk-bolly authored Dec 13, 2023
2 parents 998eaf3 + 72b503b commit ecbd514
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tasks/section_1/cis_1.6.1.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit ecbd514

Please sign in to comment.