Async Setting Variable

41 views
Skip to first unread message

captai...@gmail.com

unread,
Sep 2, 2016, 1:38:16 PM9/2/16
to Ansible Project
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 ?

Brian Coca

unread,
Sep 7, 2016, 10:36:35 AM9/7/16
to ansible...@googlegroups.com
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.

----------
Brian Coca
Reply all
Reply to author
Forward
0 new messages