Share me your host file which you have configured in ansible, where you 
have decalared your connection type as winrm etc. May be i can look into it 
and help you.

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:
>
> <10.47.11.89> 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: [10.47.11.89]: 
> 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 
https://groups.google.com/d/msgid/ansible-project/6d37d54f-a341-40c3-941d-678cfe69b0a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to