You could write up everything from scratch. But since this is a common requirement many people have already done that. I would just use one of those roles, for instance https://github.com/frieder/ansible-role-oraclejdk/blob/master/README.md.
Dick On Mon, 13 Nov 2017 at 04:57, <[email protected]> wrote: > Hi > > I want to install java using its source (tar.gz) for number of redhat > servers . Can you please give me a little guide ? How can I use ansible for > this task and what are the command list ? > > For example : I have 10 no.of redhat 7.2 servers and I want to install > jdk-9.0.1_linux-x64_bin.tar.gz for all those servers and same time i wanna > setup the java class path too. > > > Thank you > Luke > > -- > 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/3a88589e-e017-4b20-a926-b7f08986ca6a%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/3a88589e-e017-4b20-a926-b7f08986ca6a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Dick Visser GÉANT Want to join us? We're hiring: https://www.geant.org/jobs -- 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/CAL8fbwPsBv4UHMO46%2B%3D%2B_zOfi78xvS8sF3Mfz%3D8_qiYMcE2eZQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
