- hosts: all tasks: - name: Ping all hosts ping: