mirror of
				https://github.com/ansible-collections/community.general.git
				synced 2025-10-24 21:14:00 -07:00 
			
		
		
		
	inject a dictionary of avaiable variables and the environment into the executor, so that templates can be used to debug playbooks by dumping more of the available context.
This commit is contained in:
		
					parent
					
						
							
								2baece3a03
							
						
					
				
			
			
				commit
				
					
						81e2d871aa
					
				
			
		
					 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue