unable to ping windows machine

52 views
Skip to first unread message

PRAVEEN KATTULAPALLI

unread,
Sep 17, 2020, 10:30:12 AM9/17/20
to Ansible Project
server16 | UNREACHABLE! => {
    "changed": false, 
    "msg": "basic: HTTPConnectionPool(host='server16', port=5985): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f8b2e02ed90>, 'Connection to 52.168.175.51 timed out. (connect timeout=30)'))", 
    "unreachable": true

[windows]
server16

[windows:vars]
ansible_user=root
ansible_password=password
ansible_connection=winrm
ansible_winrm_transport=basic
ansible_port=5986
ansible_winrm_server_cert_validation=ignore



plaese give me solution for this error. In windows machine i have run the power shell script that has shared in github. my winrm service also working fine, But still facing same issue.

Kundan Singh

unread,
Sep 17, 2020, 10:39:51 AM9/17/20
to ansible...@googlegroups.com
Hi ,

Please provide the ip address of server in hosts file and then check

--
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 ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/0f848a9c-2f85-4ccf-80f8-5a0b363e0a83n%40googlegroups.com.

prajwal

unread,
Sep 24, 2020, 12:25:42 AM9/24/20
to ansible...@googlegroups.com
hi if you don't have problem using open ssh install it in your windows server and use it it works well

Thanks
Prajwal

--

PRAVEEN KATTULAPALLI

unread,
Sep 24, 2020, 12:36:33 AM9/24/20
to ansible...@googlegroups.com
Hii,
 
Issue Resolved.


Thanks for your response.

Reply all
Reply to author
Forward
0 new messages