I try to run an Ansible task via rundeck on windows.
The following error is occuring:
"UNREACHABLE! => {"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 ~/.ansible/tmp `\"&& mkdir \"` echo ~/.ansible/tmp/ansible-tmp-1734505545.0886757-9922-188699859556892 `\" && echo ansible-tmp-1734505545.0886757-9922-188699859556892=\"` echo ~/.ansible/tmp/ansible-tmp-1734505545.0886757-9922-188699859556892 `\" ), exited with result 1", "unreachable": true}"
If i ran the same ansible job via Bash, everything runs fine. Also the discovery of the node in Rundeck works fine, no error.
How can i fix this issue?