--- - name: Accept INPUT 7943 ansible.builtin.iptables: chain: INPUT protocol: tcp destination_port: 7943 jump: ACCEPT comment: Accept INPUT 7943 state: present become: yes - name: Accept OUTPUT 22 ansible.builtin.iptables: chain: OUTPUT protocol: tcp destination_port: 22 jump: ACCEPT comment: Accept OUTPUT 22 state: present become: yes