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:
commit
6a29251292
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue