Hi Hawkesworth,

What version of windows and service pack is on the hosts that won't respond 
to ping?

*Windows server 2012 R2 Standard, *but all other responding hosts are 
having same operating system version.  


Are you using the win_ping module?  win_ping will connect using the wirnm 
port, rather than the normal ping port.  You might have firewall configured 
not to respond to the normal ping port on the machines which are not 
responding.

*Yes, we are using win_ping module and the port which we are using is 5986. 
The firewall is configured to enable all port access from ansible server to 
remote host.* 

 
Please ensure 
https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1
 has 
been run on the machines that won't respond.

We ran the script, even after that we are getting the same response. 


Please let us know if you need to have any other details about the infra.  
 

On Saturday, March 5, 2016 at 7:53:51 PM UTC+5:30, J Hawkesworth wrote:
>
> What version of windows and service pack is on the hosts that won't 
> respond to ping?
>
> Are you using the win_ping module?  win_ping will connect using the wirnm 
> port, rather than the normal ping port.  You might have firewall configured 
> not to respond to the normal ping port on the machines which are not 
> responding.
>
> Please ensure 
> https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1
>  
> has been run on the machines that won't respond.
>
> Hope this helps,
>
> Jon
>
>
>
> On Friday, 4 March 2016 15:20:58 UTC, Akash John wrote:
>>
>> Hi Team,
>>
>> We have configured ansible to perform activities on windows hosts and all 
>> are under the same AD. But some how some of the hosts are not providing 
>> positive ping response. Please find the response which we are getting below,
>>
>> *myserver.data.log.doman.com <http://myserver.data.log.doman.com> | 
>> FAILED => the username/password specified for this server was incorrect*
>>
>> *Configurations on Ansible*
>>
>>    - Host file containing FQDN for each hosts
>>    - /etc/ansible/group_vars/windows.yaml containing
>>    - 
>>       - *ansible_ssh_user: [email protected]*
>>       - *ansible_ssh_pass: MYPassword*
>>       - *ansible_connection: winrm*
>>       - *ansible_ssh_port: 5986*
>>       - Authentication: AD Authentication
>>
>> I have seen 
>> https://groups.google.com/forum/#!msg/ansible-project/Vzrr-s4iuss/WEn4Gv1iLQAJ
>>  
>> on this place and cannot find the proper solution for the issue. 
>>
>> Could you please help us to resolve this issue? 
>>
>> Please let us know if you need to have any other details about the 
>> configuration.
>>
>> Thanks,
>> Akash John 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/5d652871-948c-4004-b507-53e2ec8d853e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to