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

correclty added inventory this time

This commit is contained in:
Brian Coca 2015-03-09 12:15:41 -04:00
parent 642d9d6b56
commit d244390064

View file

@ -673,7 +673,7 @@ class Runner(object):
# Then we selectively merge some variable dictionaries down to a # Then we selectively merge some variable dictionaries down to a
# single dictionary, used to template the HostVars for this host # 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, inject['combined_cache'] )
temp_vars = utils.combine_vars(temp_vars, {'groups': inject['groups']}) temp_vars = utils.combine_vars(temp_vars, {'groups': inject['groups']})
temp_vars = utils.combine_vars(temp_vars, self.play_vars) temp_vars = utils.combine_vars(temp_vars, self.play_vars)