Commit 2e4191c0 by Henry Finucane

Add `groups` back into inline templates

parent 1e867b0b
...@@ -678,6 +678,7 @@ class Runner(object): ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment