mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-25 16:06:43 +00:00
Merge pull request #5308 from zecrazytux/fix/hash_merge_dynamic_inventory
Let merge hash_bahaviour work with dynamic inventory
This commit is contained in:
@@ -348,7 +348,7 @@ class Inventory(object):
|
||||
|
||||
vars.update(host.get_variables())
|
||||
if self.parser is not None:
|
||||
vars.update(self.parser.get_host_variables(host))
|
||||
vars = utils.combine_vars(vars, self.parser.get_host_variables(host))
|
||||
return vars
|
||||
|
||||
def add_group(self, group):
|
||||
|
||||
Reference in New Issue
Block a user