adoptium/infrastructure
Ansible request for boot JDK installation checks
Open
#2,624 opened on Jun 21, 2022
ansiblegood first issue
Repository metrics
- Stars
- (98 stars)
- PR merge metrics
- (PR metrics pending)
Description
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.