remote_tmp is set in ansible.cfg and ANSIBLE_REMOTE_TEMP should be a env
var BEFORE ansible runs not inside Ansible:

 ANSIBLE_REMOTE_TEMP=/cedar/.tmp ansible-playbook play.yml ....

On Fri, Mar 18, 2016 at 8:12 AM, chris scott <[email protected]> wrote:

> -e "ANSIBLE_REMOTE_TEMP=/cedar/"
>  and
> -e "remote_tmp=/cedar/"
>
> ive also done the following in the play and the role
>
>     environment:
>       remote_tmp=/cedar/.tmp
>       ANSIBLE_REMOTE_TEMP=/cedar/.tmp
>
> Both modules still write to ~/.ansible/tmp as their tmp dir though
>
> --
> 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 post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/dac0cbf7-66ce-407b-9b44-426386a96c77%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/dac0cbf7-66ce-407b-9b44-426386a96c77%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
----------
Brian Coca

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CACVha7fniy4VRfe3FQ2DN0JCsQcjrzbqnwn0d2jeUaE_ccGsDA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to