Failed to create temporary directory

I have made changes in inventory file like added network_cli as connection type and now the ping is working fine

I am having the exact error while try to ping my windows machine form ansible automation platform template

Can you let me know what was the fix here i see my ansible.cnfg file has the temp folder specified

{
“unreachable”: true,
“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-1654237550.361781-26-26236287869257" && echo ansible-tmp-1654237550.361781-26-26236287869257="echo ~/.ansible/tmp/ansible-tmp-1654237550.361781-26-26236287869257" ), exited with result 1”,
“changed”: false
}