--- - name: Check connectivity with all hosts hosts: all tasks: - name: Ping all hosts ansible.builtin.ping: