Hi there, I’m trying to use Ansible and for various reasons, I end up deleting the home directory of the user which doesn’t please Ansible.
What surprised me is that Ansible isn’t using the foreman-rex-remote-working-directory option for its configuration.
Foreman REX uses /dev/shm, and indeed when I run a remote execution, I find the temporary files in /dev/shm.
However when I try to run ansible roles (just the default), temporary files are created in the home directory of the user configured for REX. (which I don’t want)
Modifying /etc/ansible/ansible.cfg doesn’t work. On the Smart proxy and foreman itself
I would like to be able to modify the equivalent of the ansible_remote_tmp variable to set it to /dev/shm.
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
All smart-proxy are 1.22