Combining items from multiple lists: zip and zip_longest
To get a list combining the elements of other lists useansible.builtin.zip:
To always exhaust all lists useansible.builtin.zip_longest:
Similarly to the output of theansible.builtin.items2dictfilter mentioned above, these filters can be used to construct adict:
List data (before applying theansible.builtin.zipfilter):
Dictionary data (after applying theansible.builtin.zipfilter):