i have configured once, this during the time i have change certain 
parameters in the host file, where i declared the connection type as winrm 
etc. If you can share your host file configuaration, may be i can look into 

On Thursday, April 12, 2018 at 5:13:54 PM UTC+5:30, ishita pandey wrote:
> Hi team,
> I am trying to setup winrm connection to windows 12 but getting below 
> error:
> <> WINRM CONNECTION ERROR: the specified credentials were 
> rejected by the server Traceback (most recent call last): File 
> "/usr/lib/python2.6/site-packages/ansible/plugins/connection/winrm.py", 
> line 154, in _winrm_connect self.shell_id = 
> protocol.open_shell(codepage=65001) # UTF-8 File 
> "/var/lib/awx/venv/ansible/lib/python2.6/site-packages/winrm/protocol.py", 
> line 132, in open_shell res = self.send_message(xmltodict.unparse(req)) 
> File 
> "/var/lib/awx/venv/ansible/lib/python2.6/site-packages/winrm/protocol.py", 
> line 207, in send_message return self.transport.send_message(message) File 
> "/var/lib/awx/venv/ansible/lib/python2.6/site-packages/winrm/transport.py", 
> line 179, in send_message raise InvalidCredentialsError("the specified 
> credentials were rejected by the server") InvalidCredentialsError: the 
> specified credentials were rejected by the server fatal: []: 
> UNREACHABLE! => { "changed": false, "msg": "basic: the specified 
> credentials were rejected by the server", "unreachable": true } to retry, 
> use: --limit @/var/lib/awx/.ansible/tmp/test_housekeeping_full.retry 
> The user that i am trying is added to administrator group as well still 
> the issue.
> Can someone please suggest.
> Regards,
> Ishita

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 
For more options, visit https://groups.google.com/d/optout.

Reply via email to