On Thu, 18 Feb 2021 at 16:15,
sub...@gmail.com <
sub...@gmail.com> wrote:
>
> Is there a way to install a specic version of JDK8 on CentOS using ansible? we are looking to pin versions of JDK to
>
> java-1.8.0-openjdk-devel.x86_64 1:1.8.0.282.b08-1.el7_9
>
Can you selected a version of that particular package?
I worked with Azul JDK (free on Azure) and to achieve version lock I
used yum versionlock:
https://www.man7.org/linux/man-pages/man1/yum-versionlock.1.html
Thanks to versionlock you can still run "yum update".
Wawrzek
PS. I'll try to find an example of passing version to the yum module,
but it should be in docs.
--
Dr Wawrzyniec Niewodniczański or Wawrzek for short
PhD in Quantum Chemistry & MSc in Molecular Engineering
WWW:
http://wawrzek.name E-MAIL:
jo...@wawrzek.name
Linux User #177124