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.

Reply via email to