1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Use utils.merge_hash() instead of update for cache merging

Fixes #8968
This commit is contained in:
James Cammarata 2014-09-10 16:32:26 -05:00
parent 239b6e79c3
commit dacb6b8561

View file

@ -598,7 +598,7 @@ class Runner(object):
# merge the VARS and SETUP caches for this host
combined_cache = self.setup_cache.copy()
combined_cache.update(self.vars_cache)
combined_cache = utils.merge_hash(combined_cache, self.vars_cache)
hostvars = HostVars(combined_cache, self.inventory, vault_password=self.vault_pass)