This topic needs a title

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.

(attachments)

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

Getting new error plaintext http connection pool

How to resolve.