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

Merge pull request #10248 from hfinucane/gh-9888

Add `groups` back into inline templates
This commit is contained in:
Brian Coca 2015-02-16 13:56:20 -05:00
commit 6a29251292

View file

@ -678,6 +678,7 @@ class Runner(object):
temp_vars = utils.merge_hash(temp_vars, self.play_vars) temp_vars = utils.merge_hash(temp_vars, self.play_vars)
temp_vars = utils.merge_hash(temp_vars, self.play_file_vars) temp_vars = utils.merge_hash(temp_vars, self.play_file_vars)
temp_vars = utils.merge_hash(temp_vars, self.extra_vars) temp_vars = utils.merge_hash(temp_vars, self.extra_vars)
temp_vars = utils.merge_hash(temp_vars, {'groups': inject['groups']})
hostvars = HostVars(temp_vars, self.inventory, vault_password=self.vault_pass) hostvars = HostVars(temp_vars, self.inventory, vault_password=self.vault_pass)