On 28/01/14 21:56, Kahlil Hodgson wrote: > If your control node has Jinja2.7 you may be able to use the 'map' > filter to emulate the desired comprehension > See http://jinja.pocoo.org/docs/templates/#builtin-filters
Thanks, I did spot that in the documentation, but sadly, no I don't have the right version of jinja2 (on Ubuntu 12.04). I could try and upgrade, but I suspect that wouldn't be sensible. Besides: a) jinja2's map filter looks like it may only handle top-level attributes of list items b) the result would be a string and presumably would not be treated as a data structure by the consuming role I'd be pleased to find out I'm wrong, of course. N -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
