Fix firewall task

This commit is contained in:
Sam A. 2023-07-24 01:49:10 +02:00
parent ed48ad7ebe
commit aba33a6626
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -3,7 +3,7 @@
- name: Allow necessary ports in UFW
community.general.ufw:
rule: allow
port: "{{ item.port }}"
to_port: "{{ item.port }}"
proto: "{{ item.proto }}"
comment: "{{ item.comment }}"
loop: "{{ open_ports }}"