forked from ansible-lockdown/RHEL9-CIS
Using correct conditional for Task relying on 'firewall-cmd --get-active-zones' cmd
Signed-off-by: Ionut Pruteanu <ionut.pruteanu@siemens.com>
This commit is contained in:
parent
8405e67db2
commit
81fd98e2c6
1 changed files with 1 additions and 0 deletions
|
|
@ -194,6 +194,7 @@
|
||||||
- "{{ rhel9cis_3_4_2_5_servicesport.stdout_lines }}"
|
- "{{ rhel9cis_3_4_2_5_servicesport.stdout_lines }}"
|
||||||
when:
|
when:
|
||||||
- rhel9cis_rule_3_4_2_5
|
- rhel9cis_rule_3_4_2_5
|
||||||
|
- rhel9cis_firewall == "firewalld"
|
||||||
tags:
|
tags:
|
||||||
- level1-server
|
- level1-server
|
||||||
- level1-workstation
|
- level1-workstation
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue