ansible.builtin.union (v2.15.10) — filter

union of lists

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

Authors: Brian Coca (@bcoca)

Install Ansible via pip

Install with pip install ansible-core==2.15.10

Description

Provide a unique list of all the elements of two lists.

Inputs

    
_input:
    description: A list.
    required: true
    type: list

_second_list:
    description: A list.
    required: true
    type: list

Outputs

_value:
  description: A unique list of all the elements from both lists.
  type: list

See also