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')
--
Vladimir Botka
--
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/20220121160129.72316206%40gmail.com.
pgpu75rvfrC6O.pgp
Description: OpenPGP digital signature
