/tmp issue

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.

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

https://github.com/ansible/ansible/issues/81777 - looks like an explanation of the issue