--- - name: Accept INPUT icmp ansible.builtin.iptables: chain: INPUT protocol: icmp jump: ACCEPT comment: Accept INPUT icmp state: present become: yes - name: Accept OUTPUT icmp ansible.builtin.iptables: chain: OUTPUT protocol: icmp jump: ACCEPT comment: Accept OUTPUT icmp state: present become: yes