--- - name: Accept INPUT 123 ansible.builtin.iptables: chain: INPUT protocol: udp source_port: 123 jump: ACCEPT comment: Accept INPUT 123 state: present become: yes - name: Accept OUTPUT 123 ansible.builtin.iptables: chain: OUTPUT protocol: udp destination_port: 123 jump: ACCEPT comment: Accept OUTPUT 123 state: present become: yes