forked from ansible-lockdown/RHEL9-CIS
with_items to loop
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
674e0fab16
commit
7760f35161
4 changed files with 5 additions and 8 deletions
|
|
@ -102,7 +102,7 @@
|
|||
- name: "3.4.2.3 | PATCH | Ensure nftables base chains exist | Create chains if needed"
|
||||
ansible.builtin.shell: "{{ item }}"
|
||||
failed_when: false
|
||||
with_items:
|
||||
loop:
|
||||
- nft create chain inet "{{ rhel9cis_nft_tables_tablename }}" input { type filter hook input priority 0 \; }
|
||||
- nft create chain inet "{{ rhel9cis_nft_tables_tablename }}" forward { type filter hook forward priority 0 \; }
|
||||
- nft create chain inet "{{ rhel9cis_nft_tables_tablename }}" output { type filter hook output priority 0 \; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue