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

combinations from the elements of a list

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

Authors: unknown

Install Ansible via pip

Install with pip install ansible-core==2.16.5

Description

Create a list of combinations of sets from the elements of a list.

Inputs

    
_input:
    description: Elements to combine.
    required: true
    type: list

set_size:
    description: The size of the set for each combination.
    required: true
    type: int

Outputs

_value:
  description: List of combination sets resulting from the supplied elements and set
    size.
  type: list