--- - name: Ping all hosts hosts: all gather_facts: yes tasks: - name: Ping the hosts ansible.builtin.ping: