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

Creates Array of Hash for variables in site.yml #105

Closed
emmafass opened this issue Jul 24, 2017 · 1 comment
Closed

Creates Array of Hash for variables in site.yml #105

emmafass opened this issue Jul 24, 2017 · 1 comment

Comments

@emmafass
Copy link

I found an issue where when I declare a variable in site.yml, the value that was being passed to my test was nil. I looked into it more and discovered that in the get_variables method in load_ansible file, p[group_idx]['vars'] was an Array that had a Hash in it (I had only declared one variable in site.yml). The merge_variables method, however, accepts a Hash as a parameter. I would like to change the get_variables so that if p[group_idx]['vars'] is an Array, it loops through the Hashes in the Array and calls merge for each.

@volanja
Copy link
Owner

volanja commented Jan 12, 2020

This issue has been marked as stale because it has not had recent activity.
It will be closed if no further activity occurs.
Thank you for your contributions.

@volanja volanja closed this as completed Jan 12, 2020
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

2 participants