Error in setting Java_HOME and Java_path to make java available for the system

2,143 views
Skip to first unread message

Nandha Kumar

unread,
Jul 17, 2014, 8:09:38 AM7/17/14
to ansible...@googlegroups.com
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
 

hariha...@gmail.com

unread,
Aug 18, 2014, 4:16:49 AM8/18/14
to ansible...@googlegroups.com
Hi Nandha,

Where you able to solve this issue?

Michael DeHaan

unread,
Aug 18, 2014, 8:38:05 AM8/18/14
to ansible...@googlegroups.com
Should you need to control environment variables when running tasks see the information here:


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!




--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/77fada8e-c4c2-4aa0-be5f-5cdc2e52f707%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages