mirror of
				https://github.com/kewlfft/ansible-aur.git
				synced 2025-11-04 10:02:30 +03:00 
			
		
		
		
	added helper output
This commit is contained in:
		
							
								
								
									
										2
									
								
								aur.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								aur.py
									
									
									
									
									
								
							@@ -21,6 +21,7 @@ def upgrade(module, use):
 | 
			
		||||
    module.exit_json(
 | 
			
		||||
        changed=not (out == '' or 'there is nothing to do' in out or 'No AUR updates found' in out),
 | 
			
		||||
        msg='upgraded system',
 | 
			
		||||
        helper_used=use,
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -37,6 +38,7 @@ def install_packages(module, packages, use):
 | 
			
		||||
    module.exit_json(
 | 
			
		||||
        changed=changed_iter,
 | 
			
		||||
        msg='installed package',
 | 
			
		||||
        helper_used=use,
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user