ansible / ansible.builtin / v2.16.0 / filter / from_yaml Convert YAML string into variable structure | "added in version" historical of ansible.builtin" Authors: unknownansible.builtin.from_yaml (v2.16.0) — filter
pip
Install with pip install ansible-core==2.16.0
Converts a YAML string representation into an equivalent structured Ansible variable.
Ansible automatically converts YAML strings into variable structures in most contexts, use this plugin in contexts where automatic conversion does not happen.
_input: description: A YAML string. required: true type: string
_value: description: The variable resulting from deserializing the YAML document. type: raw