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

Let merge hash_bahaviour work with dynamic inventory

This commit is contained in:
Sébastien Bocahu 2013-12-16 19:55:20 +01:00
parent 3d836a1ab7
commit c8d5846ab9

View file

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