ansible / ansible.builtin / v2.16.0 / filter / zip_longest combine list elements, with filler | "added in version" 2.3 of ansible.builtin" Authors: unknownansible.builtin.zip_longest (v2.16.0) — filter
pip
Install with pip install ansible-core==2.16.0
Make an iterator that aggregates elements from each of the iterables. If the iterables are of uneven length, missing values are filled-in with O(fillvalue). Iteration continues until the longest iterable is exhausted.
_input: description: Original list. elements: any required: true type: list fillvalue: description: Filler value to add to output when one of the lists does not contain enough elements to match the others. type: any _additional_lists: description: Additional list(s). elements: any required: true type: list
_value: description: List of lists made of elements matching the positions of the input lists. elements: list type: list