Trying to connect from Ansible server to windows host and getting 
connection errors

[root@localhost ansible]# ansible -i hosts -m ping all
10.10.128.0 | UNREACHABLE! => {
    "changed": false,
    "msg": "Failed to connect to the host via ssh.",
    "unreachable": true

-Configured windows.yml, added the windows host in the ansible hosts file, 
and can ping both machines from each other. Also ran the powershell script 
on the windows box

Is there something I am missing?

-- 
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/29eaee82-3d1c-4372-8080-0f5d7ef92ff9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to