Ha, a nice consequence that that also works.  Much rejoicing!



On Wed, Aug 20, 2014 at 10:08 PM, Nakai Tooru <[email protected]> wrote:

> 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
> <https://groups.google.com/d/msgid/ansible-project/947ea0a2-ca90-4bc7-8dc8-6d6e86f677f9%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> 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/CA%2BnsWgzLR5HwYNLeBvNO2sm%3DqByGYQGvCk4FZQReYmA_v5k85w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to