Merge pull request #2455 from robparrott/debuggin-help

inject a dictionary of avaiable variables and the environment into executor
This commit is contained in:
Michael DeHaan 2013-03-24 14:49:37 -07:00
commit 9be44c201a

View file

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