mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Add a combine filter with documentation
This is based on some code from (closed) PR #7872, but reworked based on suggestions by @abadger and the other core team members. Closes #7872 by @darkk (hash_merge/hash_replace filters) Closes #11153 by @telbizov (merged_dicts lookup plugin)
This commit is contained in:
parent
6c9dc78d8c
commit
b328bc023d
3 changed files with 59 additions and 0 deletions
|
@ -334,6 +334,11 @@ official examples repos do not use this setting::
|
|||
|
||||
The valid values are either 'replace' (the default) or 'merge'.
|
||||
|
||||
.. versionadded: '2.0'
|
||||
|
||||
If you want to merge hashes without changing the global settings, use
|
||||
the `combine` filter described in :doc:`playbooks_filters`.
|
||||
|
||||
.. _hostfile:
|
||||
|
||||
hostfile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue