ansible / ansible.builtin / v2.16.0 / filter / from_yaml_all Convert a series of YAML documents into a variable structure | "added in version" historical of ansible.builtin" Authors: unknownansible.builtin.from_yaml_all (v2.16.0) — filter
pip
Install with pip install ansible-core==2.16.0
Converts a YAML documents in a string representation into an equivalent structured Ansible variable.
Ansible internally auto-converts YAML strings into variable structures in most contexts, but by default does not handle 'multi document' YAML files or strings.
If multiple YAML documents are not supplied, this is the equivalend of using C(from_yaml).
_input: description: A YAML string. required: true type: string
_value: description: The variable resulting from deserializing the YAML documents. type: raw