Hi,
Im able to ping with Basic AUTH and NTLM, using the port number 5985. But when Im trying to connect with CredSSP, Im getting the error.
Settings for Basic and NTLM in inventory
==============
ansible_user: Administrator
ansible_password: xxxxxx
ansible_port: 5985
ansible_connection: winrm
ansible_winrm_transport: ntlm
ansible_winrm_server_cert_validation: ignore
=============
x.x.x.x | SUCCESS => {
"changed": false,
"ping": "pong"
}
credSSP Inventory file settings
================
ansible_user: Administrator
ansible_password: xxxxxxxx
ansible_port: 5986
ansible_connection: winrm
ansible_winrm_transport: credssp
ansible_winrm_server_cert_validation: ignore
===============
CredSSP AUTH ERROR:
=========================
"msg": "credssp: HTTPSConnectionPool(host='x.x.x.x', port=5986): Max retries exceeded with url: /wsman (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fae9734dfd0>: Failed to establish a new connection: [Errno 111] Connection refused',))",
"unreachable": true
}
==========================
Do I need to do any changes at windows host level ? Can any one please help on this ?
Thanks,
Shyam