Commit c8d5846a by Sébastien Bocahu

Let merge hash_bahaviour work with dynamic inventory

parent 3d836a1a
...@@ -351,7 +351,7 @@ class Inventory(object): ...@@ -351,7 +351,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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment