Re: [ansible-project] Ansible's handling of string representation of complex objects

2019-07-24 Thread Matt Martz
Due to some historical integrations between ansible and jinja2, we try to convert things that look like python data structures, to actual python data structures. This is because historically, jinja2 could only return string representations of python data structures, not actual python data structur

[ansible-project] Ansible's handling of string representation of complex objects

2019-07-24 Thread Guy Knights
I've run into a weird behaviour regarding how Ansible handles converting strings to complex objects. I have the following string representation of a list of dicts that I'm returning from a Cloudformation stack output: [{"id": "subnet-f3i4ven6lxvxr3eu","az": "us-east-1a"},{"id": "subnet- 0wovp0yu5