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