summaryrefslogtreecommitdiffstats
path: root/lib/ansible/plugins/filter/type_debug.yml
blob: 73f79466b655667fa9ad0c3c943158bc9673dd36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DOCUMENTATION:
  name: type_debug
  author: Adrian Likins (@alikins)
  version_added: "2.3"
  short_description: show input data type
  description:
    - Returns the equivalent of Python's C(type) function.
  options:
    _input:
      description: Variable or expression of which you want to determine type.
      type: any
      required: true
EXAMPLES: |
  # get type of 'myvar'
  {{ myvar | type_debug }}

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