The ping: task uses SSH - use
http://docs.ansible.com/ansible/win_ping_module.html
(disclaimer: I manage 0 windows hosts)