From d244390064a037dd82a71ee5d98731893e4cd33e Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 9 Mar 2015 12:15:41 -0400 Subject: [PATCH] correclty added inventory this time --- lib/ansible/runner/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/runner/__init__.py b/lib/ansible/runner/__init__.py index c1f5b3683ce..52e530ac652 100644 --- a/lib/ansible/runner/__init__.py +++ b/lib/ansible/runner/__init__.py @@ -673,7 +673,7 @@ class Runner(object): # Then we selectively merge some variable dictionaries down to a # single dictionary, used to template the HostVars for this host - temp_vars = inject['combined_cache'] + temp_vars = self.inventory.get_variables(host, vault_password=self.vault_pass) temp_vars = utils.combine_vars(temp_vars, inject['combined_cache'] ) temp_vars = utils.combine_vars(temp_vars, {'groups': inject['groups']}) temp_vars = utils.combine_vars(temp_vars, self.play_vars)