Hi all,
i've been having this Problem since a few weeks already and could not seem
to find the cause to the problem.
Setup:
OS: NAME="Red Hat Enterprise Linux Server" ; VERSION="7.9 (Maipo)"
Ansible Version: ansible 2.9.15
Problem:
fatal: [my_server]: 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-1649263609.0-35845-182209786710290 `\" && echo
ansible-tmp-1649263609.0-35845-182209786710290=\"` echo
/var/tmp/ansible-tmp-1649263609.0-35845-182209786710290 `\" ), exited with
result 1", "unreachable": true}
- Jobs are executed from a scheduling System which access the ansible
server to execute the playbook from there.
- The Job does ends successfully, but also sometimes with the above fatal
message.
- A "rerun" of the failed job will not produce the same error.
- This Error is not limited to the ansible module and is quite difficult to
reproduce. It occurs randomly on any server using any ansible module.
I've already tried these ansible.cfg settings. Unfortunately, it did not
help.
...
remote_tmp = /tmp/.ansible-${USER}/tmp
system_tmpdirs = /tmp
pipelining = True
[ssh_connection]
retries=10
Has anyone encounter similar problem such as this or an idea how to resolve
this?
Best Regards,
JB
--
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/9f771534-7c2e-4f2b-ac80-a1512b9ef17dn%40googlegroups.com.