Morgan Hamill:

> Excerpts from Michael DeHaan's message of 2014-08-20 08:51:01 -0400: 
> > With a simple list, you can do stuff like: 
> > 
> > - shell: echo {{ item }} 
> >   with_items: alist_that_may_be_undefined | default([]) 
>
> I'm fairly sure this works also: 
>
>   - shell: echo {{ item }} 
>     with_subelements: 
>       - some_list|default([]) 
>       - some_subkey 
>

This is what I want, awesome!
Thank you.

-- 
nakai 

-- 
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/947ea0a2-ca90-4bc7-8dc8-6d6e86f677f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to