Skip to content

Unable to install OpenJDK 25 #158

Description

@nakomoto
SUMMARY

Unable to install OpenJDK 25

defaults/main.yml

java_major_version: 25

Playbook execution:

TASK [java : Out java_major_version] *********************************************************************************************************************************************************************************************************
Mittwoch 10 Juni 2026  02:54:37 +0300 (0:00:00.033)       0:00:03.992 ********* 
ok: [questdb-04] => {
    "java_major_version": "26"
}
ISSUE TYPE
  • Bug Report
COMPONENT NAME
ANSIBLE VERSION
2.18.14
CONFIGURATION

ANSIBLE_NOCOWS(/home/ansible/git/brocloud/ansible/ansible.cfg) = True
CACHE_PLUGIN(/home/ansible/git/brocloud/ansible/ansible.cfg) = yaml
CACHE_PLUGIN_CONNECTION(/home/ansible/git/brocloud/ansible/ansible.cfg) = .facts
CACHE_PLUGIN_TIMEOUT(/home/ansible/git/brocloud/ansible/ansible.cfg) = 30
CALLBACKS_ENABLED(/home/ansible/git/brocloud/ansible/ansible.cfg) = ['ansible.posix.profile_tasks']
CONFIG_FILE() = /home/ansible/git/brocloud/ansible/ansible.cfg
DEFAULT_FORKS(/home/ansible/git/brocloud/ansible/ansible.cfg) = 50
DEFAULT_LOG_PATH(env: ANSIBLE_LOG_PATH) = /home/ansible/logs/ansible/ansible.log_2026-06-10_02-54-32
DEFAULT_MANAGED_STR(/home/ansible/git/brocloud/ansible/ansible.cfg) = This file is managed by ansible and will be overwritten! Do not change it manually!
DEFAULT_STDOUT_CALLBACK(/home/ansible/git/brocloud/ansible/ansible.cfg) = default
DEPRECATION_WARNINGS(/home/ansible/git/brocloud/ansible/ansible.cfg) = True
DIFF_ALWAYS(/home/ansible/git/brocloud/ansible/ansible.cfg) = True
DISPLAY_SKIPPED_HOSTS(/home/ansible/git/brocloud/ansible/ansible.cfg) = True
EDITOR(env: EDITOR) = vim
INTERPRETER_PYTHON(/home/ansible/git/brocloud/ansible/ansible.cfg) = auto_silent
INVENTORY_IGNORE_EXTS(/home/ansible/git/brocloud/ansible/ansible.cfg) = ['.bak', '.old', '.orig', '.swp']
PAGER(env: PAGER) = less
RETRY_FILES_ENABLED(/home/ansible/git/brocloud/ansible/ansible.cfg) = False

OS / ENVIRONMENT

The OS you are running Ansible from: Debian GNU/Linux 12 (bookworm) x86_64
The OS you are managing: Debian GNU/Linux 13 (trixie) x86_64

STEPS TO REPRODUCE

Change the content of the variable java_major_version to 25

java_major_version: 25

and execute the role.

EXPECTED RESULTS

I expect that the role installs OpenJDK 25

ACTUAL RESULTS

But the role installs OpenJDK 26

TASK [java : Out java_major_version] *********************************************************************************************************************************************************************************************************
Mittwoch 10 Juni 2026  02:54:37 +0300 (0:00:00.033)       0:00:03.992 ********* 
ok: [questdb-04] => {
    "java_major_version": "26"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions