Newer versions of Ansible can iterate across iterators in that "with" and
should not present a problem.



On Wed, Oct 1, 2014 at 4:03 AM, Nicolas Dupont-Jubien <
[email protected]> wrote:

>
> Hello,
>
>
> The filter reverse returns a reverselistiterator and will be inappropriate
> here.
> I suggest you to use  *with_items: *your_liste*[::-1] *
>
> Regards,
>
>
>
>
> Le mercredi 7 mai 2014 12:43:04 UTC+2, Aleksey Smart a écrit :
>>
>> Hello!
>>
>> I use zfs module for creating necessary structure.
>> Using "with_items" I iterate over elements in config list. It's ok, but
>> after all I need to unmount creating volumes.
>> This must be done in reverse order for preventing "busy device".
>>
>> I need something like with_items_desc.
>>
>> What can you advise?
>>
>> --
>> Aleksey
>>
>  --
> 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/0626058f-9e1a-42a6-babd-6f9224906033%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/0626058f-9e1a-42a6-babd-6f9224906033%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%2BnsWgztCwX6A0Zw4LLsWrBR9GpADjdAbY6kHjYG9raMBfjYCw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to