Fix firewall task
This commit is contained in:
parent
ed48ad7ebe
commit
aba33a6626
|
@ -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 }}"
|
||||||
|
|
Reference in a new issue