diff --git a/tasks/remote.yml b/tasks/remote.yml index 83b6c6a..e857c5f 100644 --- a/tasks/remote.yml +++ b/tasks/remote.yml @@ -86,8 +86,7 @@ - name: Forward privileged ports to ephemeral localhost ports (IPv4, UDP) become: yes - shell: - command: "socat -T10 udp4-recvfrom:{{ item.exposed_port }},fork tcp:127.0.0.1:{{ item.ephemeral_port }}" + command: "socat -T10 udp4-recvfrom:{{ item.exposed_port }},fork tcp:127.0.0.1:{{ item.ephemeral_port }}" loop: "{{ tunneled_ports }}" when: "'udp' in item.protocols" @@ -108,7 +107,6 @@ - name: Forward privileged ports to ephemeral localhost ports (IPv6, UDP) become: yes - shell: - command: "socat -T10 udp6-recvfrom:{{ item.exposed_port }},fork tcp:[::1]:{{ item.ephemeral_port }}" + command: "socat -T10 udp6-recvfrom:{{ item.exposed_port }},fork tcp:[::1]:{{ item.ephemeral_port }}" loop: "{{ tunneled_ports }}" when: "'udp' in item.protocols" \ No newline at end of file