25 views
Skip to first unread message

Gopal Dhapa

unread,
Nov 28, 2018, 8:03:31 PM11/28/18
to ansible...@googlegroups.com
Hello Team,

When I connected ansible to Windows host given ssh connection timeout error.
Please find this attachment.


I am using powershell version 3.0
Winrm service working okay.
Use port 5985

Other Linux node working okay. With this ansible setup. Please provide your suggestion.

Thanks in advance.
IMG-20181128-WA0005.jpeg

Lucas Jackson

unread,
Nov 29, 2018, 8:08:31 AM11/29/18
to ansible...@googlegroups.com
You are trying to connect to a Windows host over SSH

Do you have the following in the hosts file for your Windows machines?
ansible_connection=winrm  

Here's an example of a Windows host file:
[win]
172.16.2.5 
172.16.2.6 

[win:vars]
ansible_user=vagrant
ansible_password=password
ansible_connection=winrm
ansible_winrm_server_cert_validation=ignore


--
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 post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAFuBnhhJsj%3D%2B_95BYCfKVJjkKFqC0jQNn5Tk%2BfWhDdDiZMOwDQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Gopal Dhapa

unread,
Dec 1, 2018, 7:02:34 AM12/1/18
to ansible...@googlegroups.com
Getting new error plaintext http connection pool 

How to resolve.

Reply all
Reply to author
Forward
0 new messages