mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
74f20ebf79
commit
d9df607972
1 changed files with 1 additions and 1 deletions
|
@ -579,7 +579,7 @@ class Runner(object):
|
||||||
# use combined_cache and host_variables to template the module_vars
|
# use combined_cache and host_variables to template the module_vars
|
||||||
# we update the inject variables with the data we're about to template
|
# we update the inject variables with the data we're about to template
|
||||||
# since some of the variables we'll be replacing may be contained there too
|
# since some of the variables we'll be replacing may be contained there too
|
||||||
module_vars_inject = utils.combine_vars(combined_cache.get(host, {}), host_variables)
|
module_vars_inject = utils.combine_vars(host_variables, combined_cache.get(host, {}))
|
||||||
module_vars_inject = utils.combine_vars(self.module_vars, module_vars_inject)
|
module_vars_inject = utils.combine_vars(self.module_vars, module_vars_inject)
|
||||||
module_vars = template.template(self.basedir, self.module_vars, module_vars_inject)
|
module_vars = template.template(self.basedir, self.module_vars, module_vars_inject)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue