infrastructure
infrastructure copied to clipboard
Ansible request for boot JDK installation checks
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.