The ping: task uses SSH - use

http://docs.ansible.com/ansible/win_ping_module.html

(disclaimer: I manage 0 windows hosts)

On 9 August 2016 at 19:35, Anfield <gareth.has...@gmail.com> wrote:
> Connecting from ansible to windows hosts I am getting the following error
> when I run this command
>
> ansible -i hosts -m ping all
>
> ERROR
>   "msg": "Failed to connect to the host via ssh.",
>     "unreachable": true
>
> The hosts can ping each other and the windows machine has been added in the
> ansible hosts file. Have ran the windows powershell script and also created
> the windows.yml.
>
> Is there anything else I am missing here? (New to ansible)
>
>
> --
> 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-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/46da2bb4-f7dd-48b0-9d90-8dd6d7cc3cb7%40googlegroups.com.
> 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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAK5eLPQ450SVu5XVLCxnYvQd_o7hEF%2BYB-XCtzbqCuCz0JrrMw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to