mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge conflict.
This commit is contained in:
parent
8420211aee
commit
b41541c62a
1 changed files with 2 additions and 2 deletions
|
@ -368,9 +368,9 @@ class Inventory(object):
|
||||||
vars_results = [ plugin.run(host, vault_password=vault_password) for plugin in self._vars_plugins ]
|
vars_results = [ plugin.run(host, vault_password=vault_password) for plugin in self._vars_plugins ]
|
||||||
for updated in vars_results:
|
for updated in vars_results:
|
||||||
if updated is not None:
|
if updated is not None:
|
||||||
vars.update(updated)
|
vars = utils.combine_vars(vars, updated)
|
||||||
|
|
||||||
vars.update(host.get_variables())
|
vars = utils.combine_vars(vars, host.get_variables())
|
||||||
if self.parser is not None:
|
if self.parser is not None:
|
||||||
vars = utils.combine_vars(vars, self.parser.get_host_variables(host))
|
vars = utils.combine_vars(vars, self.parser.get_host_variables(host))
|
||||||
return vars
|
return vars
|
||||||
|
|
Loading…
Reference in a new issue