Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error use_openjdk17 is undefined #854

Open
vjrj opened this issue Oct 16, 2024 · 2 comments
Open

Error use_openjdk17 is undefined #854

vjrj opened this issue Oct 16, 2024 · 2 comments
Assignees

Comments

@vjrj
Copy link
Collaborator

vjrj commented Oct 16, 2024

After #848 we still get:

TASK [java : Show java version] ************************************************
fatal: [ala-install-test-3]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'use_openjdk17' is undefined. 'use_openjdk17' is undefined\n\nThe error appears to be in '/data-additional/jenkins/ala-install-test/ala-install/ansible/roles/java/tasks/main.yml': line 4, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: \"Show java version\"\n  ^ here\n"}

PLAY RECAP *********************************************************************
ala-install-test-3         : ok=14   changed=0    unreachable=0    failed=1    skipped=16   rescued=0    ignored=0   

cc @yasima-csiro

@vjrj
Copy link
Collaborator Author

vjrj commented Oct 16, 2024

It fails only in playbooks without the "common" role, so I prefer to add the var to our inventories that to modify the playbooks.

@vjrj vjrj closed this as completed Oct 16, 2024
@vjrj vjrj reopened this Mar 26, 2025
@vjrj
Copy link
Collaborator Author

vjrj commented Mar 26, 2025

This still fails for some users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant