„update-ohne-reboot“ hinzufügen
This commit is contained in:
		
							
								
								
									
										9
									
								
								update-ohne-reboot
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								update-ohne-reboot
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					- hosts: all
 | 
				
			||||||
 | 
					  become: true
 | 
				
			||||||
 | 
					  become_user: root
 | 
				
			||||||
 | 
					  tasks:
 | 
				
			||||||
 | 
					    - name: apt update auf allen Servern
 | 
				
			||||||
 | 
					      apt: update_cache=yes force_apt_get=yes cache_valid_time=3600
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    - name: apt upgrade -y auf allen Servern
 | 
				
			||||||
 | 
					      apt: upgrade=dist force_apt_get=yes
 | 
				
			||||||
		Reference in New Issue
	
	Block a user