diff --git a/tasks/firewall.yaml b/tasks/firewall.yaml index 515c154..8329062 100644 --- a/tasks/firewall.yaml +++ b/tasks/firewall.yaml @@ -60,8 +60,7 @@ direction: "in" proto: "{{ item.proto | default('tcp') }}" from_ip: "{{ item.from_ip }}" - to_port: - "{{ omit if (item.proto | default('tcp')) in common_firewall_portless_protocols else item.to_port }}" + to_port: "{{ omit if (item.proto | default('tcp')) in firewall_portless_protocols else item.to_port }}" loop: "{{ __firewall_all_rules }}" loop_control: label: " {{ item.name }}"