This commit is contained in:
Robert Kaussow 2018-07-11 23:00:51 +02:00
parent 87bd5e410e
commit b94a7a29a2

View File

@ -47,7 +47,7 @@
iptables_raw:
name: "{{ item.flag }}"
state: present
rules: "-A {{ item.direction | upper }} -m state --state NEW -p {{ item.proto » lower }} --dport {{ item.port }} -j ACCEPT"
rules: "-A {{ item.direction | upper }} -m state --state NEW -p {{ item.proto | lower }} --dport {{ item.port }} -j ACCEPT"
with_items: "{{ unifi_open_ports }}"
loop_control:
label: "{{ item.flag }}"