ansible.builtin.zip (v2.16.5) — filter

combine list elements

| "added in version" 2.3 of ansible.builtin"

Authors: unknown

Install Ansible via pip

Install with pip install ansible-core==2.16.5

Description

Iterate over several iterables in parallel, producing tuples with an item from each one.

Inputs

    
_input:
    description: Original list.
    elements: any
    required: true
    type: list

strict:
    default: false
    description: If V(True) return an error on mismatching list length, otherwise shortest
      list determines output.
    type: bool

_additional_lists:
    description: Additional list(s).
    elements: any
    required: true
    type: list

Outputs

_value:
  description: List of lists made of elements matching the positions of the input
    lists.
  elements: list
  type: list