Given your example, pretty simple:

   with_flattened: user_groups

But that only works to feed a task. The new feature I referred to, is brand
new, I didn't use it yet, but that would roughly translate to

  {{ lookup('flattened', user_groups, want_list=True) }}



On 22 February 2015 at 20:49, Joel Parker <[email protected]> wrote:

> Thank you for the response. Can you provide a quick example of how you use
> the flattening lookup to accomplish this.. particularly showing the
> structure of the data you're using?
>
> --
> 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/5975cc53-356f-40fb-8b7d-4741e02192d7%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAEhzMJDQu_i3oqxvuKrMay7_gL17n3sw192q7kR6Brwx9kXzmQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to