/tmp issue

158 views
Skip to first unread message

Dhirender Yadav

unread,
Aug 29, 2022, 12:34:45 PM8/29/22
to ansible...@googlegroups.com
Hi All,  

We are getting the floating issue in ansible. 

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-$USER/tmp `\"&& mkdir /tmp/.ansible-$USER/tmp/ansible-tmp-1661786017.5412757-1664444-38491351116461 && echo ansible-tmp-1661786017.5412757-1664444-38491351116461=\"` echo /tmp/.ansible-$USER/tmp/ansible-tmp-1661786017.5412757-1664444-38491351116461 `\" ), exited with result -13", "unreachable": true},

If we execute the same task again it works fine. 

--

Regards,
Dhirender Yadav

sysadmin-dp

unread,
Oct 10, 2022, 4:22:46 AM10/10/22
to Ansible Project
Hi,

we also have the same exact problem in our company. This behavior is just random and everytime we execute the same task again, it works. Its difficult to automate some things because of this e.g. we get a Failed Job Call because of this which is not a real Error since a "rerun" solves it. Any Solution for this?

Regards,
sysadmin-dp

Dmitry Konstantinov

unread,
Feb 27, 2024, 9:59:41 AM2/27/24
to Ansible Project
https://github.com/ansible/ansible/issues/81777 - looks like an explanation of the issue
Reply all
Reply to author
Forward
0 new messages