forked from ansible-lockdown/RHEL9-CIS
updated conditional
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
9c771e03e4
commit
e4275b2131
1 changed files with 2 additions and 5 deletions
|
|
@ -23,18 +23,15 @@
|
|||
name: "{{ item }}"
|
||||
state: stopped
|
||||
enabled: false
|
||||
with_items:
|
||||
- iptables
|
||||
- ip6tables
|
||||
when: item in ansible_facts.packages
|
||||
|
||||
- name: "3.4.1.2 | PATCH | Ensure iptables-services not installed with firewalld | remove iptables-services pkg "
|
||||
package:
|
||||
name: iptables-services
|
||||
state: absent
|
||||
when: "'iptables-services' in ansible_facts.packages"
|
||||
when:
|
||||
when:
|
||||
- rhel9cis_rule_3_4_1_2
|
||||
- "'iptables-services' in ansible_facts.packages"
|
||||
tags:
|
||||
- level1-server
|
||||
- level1-workstation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue