Don't specify firewall rule position

This commit is contained in:
Sam A. 2023-09-16 23:56:30 +02:00
parent 1313f04b07
commit 00bbe5751a
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -5,12 +5,8 @@
to_port: "{{ item.port }}"
proto: "{{ item.proto }}"
comment: "{{ item.comment }}"
insert: "{{ ansible_loop.index }}"
rule: allow
loop: "{{ open_ports }}"
loop_control:
extended: true
extended_allitems: false
- name: Enable UFW
community.general.ufw: