- name: Ping Windows hosts hosts: all tasks: - name: Ping Windows hosts ansible.windows.win_ping: