forked from ansible-lockdown/RHEL9-CIS
Merge pull request #129 from siemens/siemens/feat/removingRedundantConditionals
Removing redundant conditional statements
This commit is contained in:
commit
ecbd514df1
1 changed files with 0 additions and 3 deletions
|
|
@ -39,7 +39,6 @@
|
||||||
policy: "{{ rhel9cis_selinux_pol }}"
|
policy: "{{ rhel9cis_selinux_pol }}"
|
||||||
state: "{{ rhel9cis_selinux_enforce }}"
|
state: "{{ rhel9cis_selinux_enforce }}"
|
||||||
when:
|
when:
|
||||||
- not rhel9cis_selinux_disable
|
|
||||||
- rhel9cis_rule_1_6_1_3
|
- rhel9cis_rule_1_6_1_3
|
||||||
tags:
|
tags:
|
||||||
- level1-server
|
- level1-server
|
||||||
|
|
@ -54,7 +53,6 @@
|
||||||
policy: "{{ rhel9cis_selinux_pol }}"
|
policy: "{{ rhel9cis_selinux_pol }}"
|
||||||
state: "{{ rhel9cis_selinux_enforce }}"
|
state: "{{ rhel9cis_selinux_enforce }}"
|
||||||
when:
|
when:
|
||||||
- not rhel9cis_selinux_disable
|
|
||||||
- rhel9cis_rule_1_6_1_4
|
- rhel9cis_rule_1_6_1_4
|
||||||
tags:
|
tags:
|
||||||
- level1-server
|
- level1-server
|
||||||
|
|
@ -69,7 +67,6 @@
|
||||||
policy: "{{ rhel9cis_selinux_pol }}"
|
policy: "{{ rhel9cis_selinux_pol }}"
|
||||||
state: enforcing
|
state: enforcing
|
||||||
when:
|
when:
|
||||||
- not rhel9cis_selinux_disable
|
|
||||||
- rhel9cis_selinux_enforce == 'enforcing'
|
- rhel9cis_selinux_enforce == 'enforcing'
|
||||||
- rhel9cis_rule_1_6_1_5
|
- rhel9cis_rule_1_6_1_5
|
||||||
tags:
|
tags:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue