Put this in your host file

[chs]
10.10.3.21

[chs:vars]
ansible_user: user
ansible_password: pass
ansible_port: 5986
ansible_connection: winrm

Looks like the IP you posted is the actual one for your host. I would 
suggest to use dummy values while posting on public forums :-)

On Wednesday, 6 April 2016 20:50:44 UTC+5:30, Rodrigo Rapozo wrote:
>
> Hello everyone! 
>
> I'm trying to use ansible over powershell but when I use this command:
>
>  "ansible chs -m win_ping" 
>
> Looks like that it's using ssh because the error show to me:
>
> 10.10.3.21 | UNREACHABLE! => {
>     "changed": false, 
>     "msg": "SSH encountered an unknown error during the connection. We 
> recommend you re-run the command using -vvvv, which will enable SSH 
> debugging output to help diagnose the issue", 
>     "unreachable": true
> }
>
> P.S. In my host file:
>
> [chs]
> 10.10.3.21
>
> Someone have any idea?
>
> Thanks a lot!
>

-- 
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/93e45625-5821-45b7-a11c-eb9858568b01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to