Rescue task should always report status changed
This commit is contained in:
		
							parent
							
								
									d9cd758b8e
								
							
						
					
					
						commit
						7eb8fa62d1
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -16,8 +16,7 @@
 | 
			
		|||
    - name: Looks like dpkg was interrupted, configure manually
 | 
			
		||||
      ansible.builtin.command:
 | 
			
		||||
        cmd: dpkg --configure -a
 | 
			
		||||
      register: dpkg_configure_result
 | 
			
		||||
      changed_when: dpkg_configure_result.rc != 0
 | 
			
		||||
      changed_when: true
 | 
			
		||||
    - name: Try again to upgrade packages
 | 
			
		||||
      ansible.builtin.apt:
 | 
			
		||||
        upgrade: dist
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue