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

cast into a boolean

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

Authors: unknown

Install Ansible via pip

Install with pip install ansible-core==2.16.0

Description

Attempt to cast the input into a boolean (V(True) or V(False)) value.

Inputs

    
_input:
    description: Data to cast.
    required: true
    type: raw

Outputs

_value:
  description: The boolean resulting of casting the input expression into a V(True)
    or V(False) value.
  type: bool