- name: Check whether host is alive and reachable hosts: all gather_facts: no become: no tasks: - ping: