You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: