4
0
Fork 0
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2023-01-12 13:38:50 +00:00
parent 572f14ef6b
commit 3321547bfa
No known key found for this signature in database
GPG key ID: 1DE02A772D0908F9
4 changed files with 57 additions and 57 deletions

View file

@ -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'