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



On Wed, Nov 28, 2018 at 8:03 PM Gopal Dhapa <[email protected]> wrote:

> 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.
>
> --
> 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/CAFuBnhhJsj%3D%2B_95BYCfKVJjkKFqC0jQNn5Tk%2BfWhDdDiZMOwDQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAFuBnhhJsj%3D%2B_95BYCfKVJjkKFqC0jQNn5Tk%2BfWhDdDiZMOwDQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAOPjBs3daYMLqmG-vtq_MXwga-bgKAH_HTenzOwAKgBpgsvyoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to