diff --git a/tasks/section_3/cis_3.1.x.yml b/tasks/section_3/cis_3.1.x.yml index 6de9cd7..e972ae2 100644 --- a/tasks/section_3/cis_3.1.x.yml +++ b/tasks/section_3/cis_3.1.x.yml @@ -63,8 +63,8 @@ owner: root group: root loop: - - tipc - # note the item used in the template + - tipc + # note the item used in the template - name: "3.1.3 | PATCH | Ensure TIPC is disabled | blacklist" ansible.builtin.lineinfile: diff --git a/tasks/section_3/cis_3.4.1.x.yml b/tasks/section_3/cis_3.4.1.x.yml index 8f3aba9..8a7e721 100644 --- a/tasks/section_3/cis_3.4.1.x.yml +++ b/tasks/section_3/cis_3.4.1.x.yml @@ -22,7 +22,7 @@ name: "{{ item }}" masked: true loop: - - firewalld + - firewalld when: - item in ansible_facts.packages - rhel9cis_firewall == 'nftables' @@ -32,15 +32,15 @@ name: "{{ item }}" masked: true loop: - - nftables + - nftables when: - item in ansible_facts.packages - rhel9cis_firewall == 'firewalld' - name: "3.4.1.2 | PATCH | Ensure a single firewall configuration utility is in use | package installed" ansible.builtin.package: - name: "{{ rhel9cis_firewall }}" - state: installed + name: "{{ rhel9cis_firewall }}" + state: installed - name: "3.4.1.2 | PATCH | Ensure a single firewall configuration utility is in use | {{ rhel9cis_firewall }} started and enabled" ansible.builtin.systemd: