Add missing kubeconfig path;Reorder cleanup tasks
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		@@ -1,3 +1,17 @@
 | 
			
		||||
- name: Compress tarballs
 | 
			
		||||
  community.general.archive:
 | 
			
		||||
    dest: /opt/metacluster/container-images/image-tarballs.tgz
 | 
			
		||||
    path: /opt/metacluster/container-images/*.tar
 | 
			
		||||
    format: gz
 | 
			
		||||
    remove: yes
 | 
			
		||||
  ignore_errors: yes
 | 
			
		||||
 | 
			
		||||
- name: Cleanup tempfile
 | 
			
		||||
  ansible.builtin.file:
 | 
			
		||||
    path: "{{ kubeconfig.path }}"
 | 
			
		||||
    state: absent
 | 
			
		||||
  when: kubeconfig.path is defined
 | 
			
		||||
 | 
			
		||||
- name: Disable crontab job
 | 
			
		||||
  ansible.builtin.cron:
 | 
			
		||||
    name: firstboot
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user