Follow this once and see if it works https://www.ansible.com/blog/connecting-to-a-windows-host
With Regards, Dinesh Singh Email - [email protected] On Fri, Jan 18, 2019, 6:11 PM sindhu shree <[email protected] wrote: > which option should i enable? winrm is allowed and no such specific > options for linux. > > > > On Friday, January 18, 2019 at 6:04:35 PM UTC+5:30, Dinesh Singh wrote: >> >> This basically means server rejecting the login. If you have firewall at >> windows server then allow Linux server to communicate. >> >> With Regards, >> Dinesh Singh >> Email - [email protected] >> >> On Fri, Jan 18, 2019, 5:59 PM sindhu shree <[email protected] wrote: >> >>> Hi. >>> Am facing some authentication issues when i run ansible all -m >>> win_ping. Response - 10.67.104.45 | UNREACHABLE! => { >>> "changed": false, >>> "msg": "basic: the specified credentials were rejected by the >>> server", >>> "unreachable": true >>> } >>> >>> The user which am trying to connect is administrator user. I followed >>> some steps to add user and change the permissions using >>> >>> winrm configSDDL default, but no luck. >>> Am using basic authentication. >>> >>> Am new to Linux , i would appreciate if i get any help on this. >>> >>> >>> -- >>> 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/903eaa26-07ef-4c09-97ed-c6c446856378%40googlegroups.com >>> <https://groups.google.com/d/msgid/ansible-project/903eaa26-07ef-4c09-97ed-c6c446856378%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > 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/cfd903cc-5946-45fa-8804-1698c8683dab%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/cfd903cc-5946-45fa-8804-1698c8683dab%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CABscAOpAv8DXa4veFv9P%2B0LP52g%3DucZ8vdURy93udGuMs4pm8Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
