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

Pass json list in quotes #49

Merged
merged 1 commit into from
Apr 28, 2022

Conversation

arbulu89
Copy link
Contributor

The cluster_selected_checks was not being set totally correct, as it was not a list. In order to pass as a real json, we need to use quotes.
For reference: https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#json-string-format

This way, the value is set as ["check_id", "check_id"], as a list of strings
Otherwise is set as "[check_id, check_id]", as a string instead of a list

@arbulu89 arbulu89 merged commit 7b206d6 into trento-project:main Apr 28, 2022
fmherschel pushed a commit to fmherschel/runner that referenced this pull request Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

2 participants