failed to create directory in windows remote machine

96 views
Skip to first unread message

Prajwal Gowda

unread,
Aug 24, 2020, 5:25:15 AM8/24/20
to ansible...@googlegroups.com
hi  all
please tell the solution for this problem

"changed": false,
    "msg": "Failed to create temporary directory.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\", for more error information use -vvv. Failed command was: ( umask 77 && mkdir -p \"` echo /tmp/.ansible-${ad_prajwalh}/tmp `\"&& mkdir \"` echo /tmp/.ansible-${ad_prajwalh}/tmp/ansible-tmp-1598260125.33-15226-114079856555538 `\" && echo ansible-tmp-1598260125.33-15226-114079856555538=\"` echo /tmp/.ansible-${ad_prajwalh}/tmp/ansible-tmp-1598

nitesh shet

unread,
Jun 18, 2021, 3:49:10 PM6/18/21
to Ansible Project
Hi experts,
i am also facing the same problem, can anyone please provide solution to this?

Thanks,
Nitesh

Antony Stone

unread,
Jun 18, 2021, 3:53:27 PM6/18/21
to ansible...@googlegroups.com
On Friday 18 June 2021 at 21:49:10, nitesh shet wrote:

> Hi experts,
> i am also facing the same problem,

The same problem?

The subject of this thread is "failed to create directory in windows remote
machine", whereas you just wrote in another thread that "my controller node is
of centos7 and remote is debian", so I don't think you are working with a
Windows remote system?


Antony.

--
"Reports that say that something hasn't happened are always interesting to me,
because as we know, there are known knowns; there are things we know we know.
We also know there are known unknowns; that is to say we know there are some
things we do not know. But there are also unknown unknowns - the ones we don't
know we don't know."

- Donald Rumsfeld, US Secretary of Defence

Please reply to the list;
please *don't* CC me.

nitesh shet

unread,
Jun 18, 2021, 4:29:47 PM6/18/21
to ansible...@googlegroups.com
Yes my controller node is of centos 7 

Antony Stone

unread,
Jun 18, 2021, 4:36:00 PM6/18/21
to ansible...@googlegroups.com
On Friday 18 June 2021 at 22:29:24, nitesh shet wrote:

> Yes my controller node is of centos 7

But your remote / target machine is not running Windows.

Antony..

--
Douglas was one of those writers who honourably failed to get anywhere with
'weekending'. It put a premium on people who could write things that lasted
thirty seconds, and Douglas was incapable of writing a single sentence that
lasted less than thirty seconds.

- Geoffrey Perkins, about Douglas Adams

nitesh shet

unread,
Jun 18, 2021, 4:38:54 PM6/18/21
to ansible...@googlegroups.com
No, Don't get confused with this thread because I used this thread so that I can get reply asap and the subject is also similar to what I have been to. So my controller node is running on centos and the host is on debian

Antony Stone

unread,
Jun 18, 2021, 4:42:28 PM6/18/21
to ansible...@googlegroups.com
On Friday 18 June 2021 at 22:38:31, nitesh shet wrote:

> No, Don't get confused with this thread because I used this thread so that
> I can get reply asap and the subject is also similar to what I have been
> to. So my controller node is running on centos and the host is on debian

1. Please do not ask the same question in multiple threads.

2. Please do not hijack threads and ask a question which is not the same as
what the thread was originally about.

3. Please abandon this thread and continue your question in the thread "Failed
to create temporary directory".


Antony.

--
APL [is a language], in which you can write a program to simulate shuffling a
deck of cards and then dealing them out to several players, in four
characters, none of which appear on a standard keyboard.

- David Given

nitesh shet

unread,
Jun 18, 2021, 4:43:35 PM6/18/21
to ansible...@googlegroups.com
I do remember this and follow the same in future 
Reply all
Reply to author
Forward
0 new messages