--- - name: Ping Windows hosts hosts: windows tasks: - name: Ping Windows hosts using win_ping module win_ping: