I'm calling AWX template from ManageIQ. I'm passing 9 variables to the playbook (with prompt on launch
active). The playbook is successfully called, and all of the vars come through. However two of the vars are supposed to be arrays. Instead they come through to AWX as strings: e.g., '["chefclient"]'
instead of ["chefclient"]
.
I have confirmed that these vars are indeed of type array in ManageIQ before I pass them to the AWX template.
Any clue why this is happening? Do all vars get irresistibly converted to strings? How do I fix this?
Thank you!
According to the RedHat developers on Gitter.im, this is a shortcoming in the launch_ansible_method in ManageIQ. I.e., it always converts arrays to strings. We have opened an issue on GitHub to address this.