Run VM cleanup tasks only if vm_support is true
This commit is contained in:
		
							parent
							
								
									2074c49c3e
								
							
						
					
					
						commit
						c5bddc3f31
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -122,7 +122,7 @@
 | 
				
			||||||
      ls -tr *.qcow2 > vm_usage_information.txt || touchvm_usage_information.txt
 | 
					      ls -tr *.qcow2 > vm_usage_information.txt || touchvm_usage_information.txt
 | 
				
			||||||
      chown lmnsynci:lmnsynci vm_usage_information.txt
 | 
					      chown lmnsynci:lmnsynci vm_usage_information.txt
 | 
				
			||||||
    chdir: /lmn/vm/
 | 
					    chdir: /lmn/vm/
 | 
				
			||||||
  when: not vm_usage_information.stat.exists
 | 
					  when: vm_support and not vm_usage_information.stat.exists
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Detect if IPP-Everywhere printers exist
 | 
					- name: Detect if IPP-Everywhere printers exist
 | 
				
			||||||
  ansible.builtin.shell:
 | 
					  ansible.builtin.shell:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue