ansible / ansible.builtin / v2.16.0 / filter / combine combine two dictionaries | "added in version" 2.0 of ansible.builtin" Authors: unknownansible.builtin.combine (v2.16.0) — filter
pip
Install with pip install ansible-core==2.16.0
Create a dictionary (hash/associative array) as a result of merging existing dictionaries.
_dicts: description: The list of dictionaries to combine. elements: dictionary required: true type: list _input: description: First dictionary to combine. required: true type: dict recursive: default: false description: If V(True), merge elements recursively. type: bool list_merge: choices: append: append newer entries to the older ones append_rp: append newer entries to the older ones, overwrite duplicates keep: discard newer entries prepend: insert newer entries in front of the older ones prepend_rp: insert newer entries in front of the older ones, discard duplicates replace: overwrite older entries with newer ones default: replace description: Behavior when encountering list elements. type: str
_value: description: Resulting merge of supplied dictionaries. type: dict