Merge pull request #5308 from zecrazytux/fix/hash_merge_dynamic_inventory
Let merge hash_bahaviour work with dynamic inventorypull/4420/head
commit
a6bc63512e
|
@ -348,7 +348,7 @@ class Inventory(object):
|
||||||
|
|
||||||
vars.update(host.get_variables())
|
vars.update(host.get_variables())
|
||||||
if self.parser is not None:
|
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
|
return vars
|
||||||
|
|
||||||
def add_group(self, group):
|
def add_group(self, group):
|
||||||
|
|
Loading…
Reference in New Issue