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

Wrong var name for ondemand-dex causes playbook to fail #235

Closed
i-mtz opened this issue Mar 15, 2024 · 0 comments · Fixed by #234
Closed

Wrong var name for ondemand-dex causes playbook to fail #235

i-mtz opened this issue Mar 15, 2024 · 0 comments · Fixed by #234

Comments

@i-mtz
Copy link
Contributor

i-mtz commented Mar 15, 2024

Currently, if using install_ondemand_dex: true, playbook execution breaks at:

name: "{{ 'ondemand-dex' if ondemand_dex_package == 'latest' else ondemand-dex }}"

The variable name used ondemand-dex does not mach the expected one ondemand_dex_package . This breaks the playbook even if ondemand_dex_package is set to latest.

fatal: [ood-ubuntu-devel.scicore.unibas.ch]: FAILED! => 
  msg: |-
    The task includes an option with an undefined variable. The error was: 'ondemand' is undefined. 'ondemand' is undefined
  
    The error appears to be in '/home/martin0009/ansible/playbooks/playbook-scicore-int/roles/osc.open_ondemand/tasks/install-package.yml': line 100, column 3, but may
    be elsewhere in the file depending on the exact syntax problem.
  
    The offending line appears to be:
  
  
    - name: Install ondemand-dex
      ^ here
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

Successfully merging a pull request may close this issue.

1 participant