Does it work if you use ntml or kerberos auth On Sat, Dec 26, 2020, 11:36 AM Mohammed Alnajdi <mohdna...@gmail.com> wrote:
> I am using password authentication > https://docs.ansible.com/ansible/latest/user_guide/windows_setup.html#win32-openssh-authentication > > > On Saturday, December 26, 2020 at 3:21:58 AM UTC+3 vel...@gmail.com wrote: > >> What authentication are you using? >> >> On Sat, Dec 26, 2020, 9:39 AM Mohammed Alnajdi <mohd...@gmail.com> wrote: >> >>> Greeting Guys, >>> >>> I am using Ansible 2.9.6 from a Debian machine and i am trying to run >>> the ping_win module >>> on a windows target host but i am presented with this error. >>> >>> """ >>> "msg": "Authentication or permission failure. In some cases, you may >>> have been able to authenticate and did not have permissions on the target >>> directory. Consider changing the remote tmp path in ansible.cfg to a path >>> rooted in \"/tmp\". Failed command was: ( umask 77 && mkdir -p \"` echo >>> /tmp/.ansible-abc/ansible-tmp-1608935561.4827693-223757110227446 `\" && >>> echo ansible-tmp-1608935561.4827693-223757110227446=\"` echo >>> /tmp/.ansible-abc/ansible-tmp-1608935561.4827693-223757110227446 `\" ), >>> exited >>> with result 1", >>> "unreachable": true >>> } >>> """ >>> >>> Even thought i am able to ssh to the windows host fine by running >>> `ssh <ip-of-the-server>` >>> >>> Any help is appreciated. >>> >>> -- >>> 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-proje...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/ansible-project/ff28f3ff-c8db-4057-ad85-81738297907fn%40googlegroups.com >>> <https://groups.google.com/d/msgid/ansible-project/ff28f3ff-c8db-4057-ad85-81738297907fn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/e0534f23-2fd8-4463-94af-d4f4e73c4d79n%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/e0534f23-2fd8-4463-94af-d4f4e73c4d79n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAP-ZCbnEB19Uy2xst_gVbFtaht%2BL_8vDptHg9mWWQcjxmjgW8g%40mail.gmail.com.