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
1 changed files with 1 additions and 1 deletions

View File

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