mirror of
				https://github.com/ansible-collections/community.general.git
				synced 2025-10-22 20:13:59 -07:00 
			
		
		
		
	* Add integration test that modules are loaded from the expected locations * Fix ping module to pass PEP8
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			230 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			230 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| - hosts: localhost
 | |
|   gather_facts: no
 | |
|   roles:
 | |
|     - foo
 | |
|   tasks:
 | |
|   - name: Use ping from role
 | |
|     ping:
 | |
|     register: result
 | |
| 
 | |
|   - assert:
 | |
|       that:
 | |
|         - '"location" in result'
 | |
|         - 'result["location"] == "role: foo"'
 |