Commit 9be44c20 by Michael DeHaan

Merge pull request #2455 from robparrott/debuggin-help

inject a dictionary of avaiable variables and the environment into executor
parents fe2f5065 81e2d871
......@@ -337,6 +337,8 @@ class Runner(object):
inject['hostvars'] = HostVars(self.setup_cache, self.inventory)
inject['group_names'] = host_variables.get('group_names', [])
inject['groups'] = self.inventory.groups_list()
inject['vars'] = self.module_vars
inject['environment'] = self.environment
# allow with_foo to work in playbooks...
items = None
......
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