adoptium/infrastructure

Ansible request for boot JDK installation checks

Aperta

#2624 aperta il 21 giu 2022

 (1 commento) (0 reazioni) (0 assegnatari)Python (104 fork)auto 404
ansiblegood first issue

Metriche repository

Star
 (98 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Please put the name of the software product (and affected platforms if relevant) in the title of this issue

Delete as appropriate from this list:

  • Bug in ansible playbook

Details: If the machine has a directory /usr/lib/jvm/jdk-17.* but no corresponding symlink from /usr/lib/jvm/jdk-17 then the adoptopenjdk-install role will go into the "Does not exist - install it" mode and install the latest version, and if that's not the same as the one that was on the machine it will get confused by the presence of two candidate directories for the symlink target, and therefore not create one and abort the playbook.

Guida contributor