forked from ansible-lockdown/RHEL9-CIS
lint
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
572f14ef6b
commit
3321547bfa
4 changed files with 57 additions and 57 deletions
|
|
@ -18,22 +18,22 @@
|
|||
- name: "3.4.1.2 | PATCH | Ensure a single firewall configuration utility is in use"
|
||||
block:
|
||||
- name: "3.4.1.2 | PATCH | Ensure a single firewall configuration utility is in use | nftables"
|
||||
systemd:
|
||||
ansible.builtin.systemd:
|
||||
name: "{{ item }}"
|
||||
masked: true
|
||||
with_items:
|
||||
- firewalld
|
||||
when:
|
||||
when:
|
||||
- item in ansible_facts.packages
|
||||
- rhel9cis_firewall == 'nftables'
|
||||
|
||||
- name: "3.4.1.2 | PATCH | Ensure a single firewall configuration utility is in use | firewalld"
|
||||
systemd:
|
||||
ansible.builtin.systemd:
|
||||
name: "{{ item }}"
|
||||
masked: true
|
||||
with_items:
|
||||
- nftables
|
||||
when:
|
||||
when:
|
||||
- item in ansible_facts.packages
|
||||
- rhel9cis_firewall == 'firewalld'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue