Hi all,

I got the following error, while trying to execute ansible playbook:

TASK [Gathering Facts] 
************************************************************************************************************************************************************************************

fatal: [localhost]: 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 /var/tmp `\"&& mkdir \"` echo 
/var/tmp/ansible-tmp-1657172514.8192306-2106-9375282374437 `\" && echo 
ansible-tmp-1657172514.8192306-2106-9375282374437=\"` echo 
/var/tmp/ansible-tmp-1657172514.8192306-2106-9375282374437 `\" ), exited 
with result 142, stdout output: Please login as the user \"cloud-user\" 
rather than the user \"root\".\n\n", "unreachable": true}

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f2a0e03c-b35f-47ee-afa6-0a1f8b907005n%40googlegroups.com.

Reply via email to