remote_tmp

18 views
Skip to first unread message

Siva

unread,
Sep 19, 2017, 9:48:41 AM9/19/17
to Ansible Project
Hi,

We have overridden the remote_tmp as "$HOME/.ansible/tmp" in the ansible_cfg but still ansible uses the '/tmp' and the entire execution fails because we dont have '/tmp' allocated with enough space to perform our execution.

Can anyone help us where we might go wrong?

Regards,
Siva

Brian Coca

unread,
Sep 19, 2017, 10:57:47 AM9/19/17
to Ansible Project
In some cases, mostly when you 'become' an unprivileged user, Ansible
needs to use a 'system temp' which will be /tmp by default, /var/tmp
if that is the configured remote_tmp.

This is inconvenient because currently it is a global setting, we do
plan to making it a connection variable to allow a lot more flexible
configuration in the future.

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