ansible.builtin.dict (v2.4.6.0-1) — lookup

returns key/value pair items from a dictionary

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

Authors: unknown

Install Ansible via pip

Install with pip install ansible==2.4.6.0.post1

Description

Takes a dictionary 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

    
_raw:
    description:
    - A dictionary
    required: true

Outputs

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