Async Setting Variable

Hi,
I run an Ansible playbook to install an application on a remote server. It takes time, so i use async/poll.
The problem i have is that the remote server is running CIS hardened and noexec is set on /tmp.
It looks like Ansible runs its checks from /tmp - which only work if i disable noexec.

Is there a setting where i can tell async to use another filesystem instead of /tmp ?

Hi,

Ansible by default creates a tmp dir in the remote users’ home directory, if this is not possible (several reasons could cause this) it can fallback to /tmp. In all cases you can control which remote temp directory is used via the remote_tmp setting in ansible.cfg or ANSIBLE_REMOTE_TMP environment variable.​