On Fri, 21 Jan 2022 at 16:01, Vladimir Botka <[email protected]> wrote:
> On Fri, 21 Jan 2022 09:10:52 -0500 > Todd Lewis <[email protected]> wrote: > > > debug: msg: "{{ selection| zip_longest([-1], fillvalue=-1) | map('sum') > }}" | > > You can use *product* instead of *zip*, e.g. > > selection | product([-1]) | map('sum') > This is the clear winner - thx :) -- Dick Visser Trust & Identity Service Operations Manager GÉANT -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAL8fbwPqCGNN%3DM6D5EbVDWmC1ULX8qMRjGUjST_r3oROYVB-Xg%40mail.gmail.com.
