I'm trying to set a windows Host through a VM using mac M1 but I'm having the following issue :
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-1673021425.449706-14817-109103252041296" && echo ansible-tmp-1673021425.449706-14817-109103252041296="echo \~/.ansible/tmp/ansible-tmp-1673021425.449706-14817-109103252041296" ), exited with result 1", "unreachable": true}
I tried to set remote tmp through inventory, environment variable but still the same issue. I also tried setting it up through SSH and WinRM but still the same issue.
I had some other hosts (including windows too) that worked well, but this time I can't figure why it's not working. And I'd rather find the solution than creating a new VM.