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:
Abhijit Menon-Sen 2015-08-25 10:40:58 +05:30
commit b328bc023d
3 changed files with 59 additions and 0 deletions

View file

@ -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