# Need help for ansible ping

**URL:** <https://forum.ansible.com/t/need-help-for-ansible-ping/24636>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [June 2, 2017, 3:01pm UTC](https://forum.ansible.com/t/need-help-for-ansible-ping/24636 "2017-06-02T15:01:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiao\_yu](https://avatars.discourse-cdn.com/v4/letter/x/e19b73/32.png) [@xiao\_yu](https://forum.ansible.com/u/xiao_yu)\
**Post date:** [June 2, 2017, 3:01pm UTC](https://forum.ansible.com/t/need-help-for-ansible-ping/24636/1 "2017-06-02T15:01:11Z")

</div>

Please tell the steps to solve the issues. When I perform sudo ansible -m ping all , I have the following issues:

192.168.1.2 | FAILED! =\> {  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"failed": true,  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"msg": "winrm send\_input failed"  
}  
192.168.1.12 | UNREACHABLE! =\> {  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"changed": false,  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"msg": "Authentication failure.",  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"unreachable": true  
}

In my /etc/ansible/hosts

[windows]  
192.168.1.2

[web]  
192.168.1.12

[windows:vars]  
ansible\_ssh\_user="Administrator"  
ansible\_ssh\_pass=1234  
ansible\_ssh\_port=5985  
ansible\_connection="winrm"  
ansible\_winrm\_server\_cert\_validation = "ignore"
