ansible.builtin.dict (v2.16.5) — lookup

returns key/value pair items from dictionaries

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

Authors: unknown

Install Ansible via pip

Install with pip install ansible-core==2.16.5

Description

Takes dictionaries as input and returns a list with each item in the list being a dictionary with 'key' and 'value' as keys to the previous dictionary's structure.

Inputs

    
_terms:
    description:
    - A list of dictionaries
    required: true

Outputs

_list:
  description:
  - list of composed dictonaries with key and value
  type: list