Below is the configuration and its corresponding error,

[windows]
192.168.1.102
[windows:vars]
ansible_ssh_user=smodak
ansible_ssh_pass=******
ansible_ssh_port=5986
ansible_connection=winrm
ansible_winrm_server_cert_validation=ignore

=========================================================

[root@hackerdev ansible]# ansible -vvv windows -m win_ping 
Using /etc/ansible/ansible.cfg as config file
META: ran handlers
Using module file 
/usr/lib/python2.7/site-packages/ansible/modules/windows/win_ping.ps1
<192.168.1.102> ESTABLISH WINRM CONNECTION FOR USER: smodak on PORT 5986 TO 
192.168.1.102
192.168.1.102 | UNREACHABLE! => {
    "changed": false, 
    "msg": "ssl: HTTPSConnectionPool(host='192.168.1.102', port=5986): Max 
retries exceeded with url: /wsman (Caused by 
NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 
0x3623650>: Failed to establish a new connection: [Errno 111] Connection 
refused',))", 
    "unreachable": true
}


What is going wrong ?????

is it something missing on windows machine??????/

-- 
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/cd6ff30f-0680-418c-84e4-67972f6a0d60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to