---
- name: Ping Windows hosts
hosts: W2019
vars:
vars_files:
- all.yml
tasks:
- name: Ping Windows hosts using win_ping module
ansible.windows.win_ping: