Add `groups` back into inline templates

pull/10248/head
Henry Finucane 10 years ago
parent 1e867b0b8e
commit 2e4191c013

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