Merge pull request #10248 from hfinucane/gh-9888

Add `groups` back into inline templates
pull/10258/head
Brian Coca 10 years ago
commit 6a29251292

@ -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_file_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)

Loading…
Cancel
Save