That parameter needs to be set on the control machine, not the remote. I suspect that's what's happening to you, perhaps?
On Tue, Sep 30, 2014 at 4:30 PM, Tennis Smith <[email protected]> wrote: > Hi, > > This is in reference to a CentOS 6.5 host using ansible as a vagrant > provisioner. > > I added "export ANSIBLE_KEEP_REMOTE_FILES=1" to > /etc/profile.d/ansible_debug.sh so that all users would pick up the env > var. > > However, after running ansible, there aren't any files in > /home/vagrant/.ansible directory. There also isn't a ".ansible" dir in > /root either. > > This environment var is definitely getting set because both the "vagrant" > user and "root" return the correct value when I execute "echo > $ANSIBLE_KEEP_REMOTE_FILES". > > What am I missing? > > -T > > -- > 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/058b4949-93c0-45ff-9b3f-f0a72176beb5%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/058b4949-93c0-45ff-9b3f-f0a72176beb5%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CA%2BnsWgxP44s2ejOfmndAy4cSnbNLkNGNAwwdsk9L9oZvJETufA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
