Yes, that worked - I am kicking myself a bit - thanks again. It's a bit of a counter-intuitive view to the data structure for me. One you explained the logic, it became clear. Thanks for the explanation.
On Monday, 24 November 2014 17:52:54 UTC, Stephen Tan wrote: > > Thank you for the response - I see - I'll test later - I am sure you are > correct. > > thanks again > > On Monday, 24 November 2014 14:47:18 UTC, Quentin Stafford-Fraser wrote: >> >> Hi Stephen - >> >> There may be some clever Jinja magic going on here, but if this were just >> Python... >> >> * exports, as you've defined it, is a dictionary >> * 'for fred in exports' would give you each of the *keys* in turn, of >> which the first is 'video' - a string >> * so you'd need something like exports[fred]['options'] >> >> Any good? >> Q >> > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/5c1d06ed-fad2-42e7-ac2e-5495f14505c8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
