Should you need to control environment variables when running tasks see the information here:
http://docs.ansible.com/playbooks_environment.html If I'm misunderstanding the question and this is about user setup, it sounds like you may just wish to template out the .bashrc. If that doesn't quite follow, we're probably going to need more information showing the playbok line that is causing problems and more information about your use case. Thanks! On Mon, Aug 18, 2014 at 4:16 AM, <[email protected]> wrote: > Hi Nandha, > > Where you able to solve this issue? > > > On Thursday, July 17, 2014 2:09:38 PM UTC+2, Nandha Kumar wrote: >> >> Hi, >> >> I want to know , how to set java home and java path through ansible >> playbook or else is there any other way to make java available to the >> system. >> >> I have tried using lineinfile and copy the src file and template >> structure. >> >> please assist me in solving this issue. >> >> Thanks and Regards >> Nandha kumar >> Bangalore,IN >> >> > -- > 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/77fada8e-c4c2-4aa0-be5f-5cdc2e52f707%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/77fada8e-c4c2-4aa0-be5f-5cdc2e52f707%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%2BnsWgxpKD%3D-pDixsY%3DRWawQjEVHXh60usyam_524aJH0cxLSg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
