ansible.builtin.type_debug (v2.16.0) — filter

show input data type

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

Authors: Adrian Likins (@alikins)

Install Ansible via pip

Install with pip install ansible-core==2.16.0

Description

Returns the equivalent of Python's C(type) function.

Inputs

    
_input:
    description: Variable or expression of which you want to determine type.
    required: true
    type: any

Outputs

_value:
  description: The Python 'type' of the O(_input) provided.
  type: string