mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #2455 from robparrott/debuggin-help
inject a dictionary of avaiable variables and the environment into executor
This commit is contained in:
commit
9be44c201a
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue