Hi Clay,
My understanding is that list_of_dict, being a list, should be indexed by
integer and not by a string such as 'd01'. Try the code in Chip's response;
it runs successfully.
Cheers,
Jack
On Fri, Mar 6, 2015 at 2:25 AM, Clay Ye clay...@gmail.com wrote:
the above code got this error
Hello,
I'm encountering a loop issue that I'm unsure how to solve cleanly. Suppose
I have a list of dictionaries:
list_of_dict:
- { key: d01, value: 'v1' }
- { key: d02, value: 'v2' }
...
- { key: d99, value: 'v99' }
Somewhere else I have another list whose elements are a subset of the keys
On Mon, Feb 23, 2015 at 5:17 PM, Timothy Gerla t...@gerla.net wrote:
Some replies inline!
Thanks for all the help! I'll reply inline too.
On Mon, Feb 23, 2015 at 1:41 PM, jack.martin8...@gmail.com wrote:
From Ansible doc
http://docs.ansible.com/playbooks_roles.html#introduction:
Roles