Hi
I am running ansible 2.1.2.0 on centos7. The windows machine is running 
windows 10 with powershell 5.
I have installed pywinrm-0.2.2, included windows hostnames in the inventory 
file and also added group variables to this file for windows.
ansible_user=Administrator
ansible_password=password
ansible_port:=986
ansible_connection=winrm
ansible_winrm_server_cert_validation=ignore
I have also run the powershell script on the windows machine and received 
OK prompt.

I am doing this outside of a domain. If I ping the windows machine from 
centos outside of ansible I get replies. But with ansible I get

[root@centos7-ansible ~]# ansible mesh -m win_ping -v
Using /etc/ansible/ansible.cfg as config file
mesh | UNREACHABLE! => {
    "changed": false, 
    "msg": "ssl: the specified credentials were rejected by the server", 
    "unreachable": true
}

Any ideas what I am doing wrong?

Regards,
John

-- 
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/6aa25855-0b31-444f-9c28-0dc193f1ecd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to