restart ssh service instead of rebooting as this should be fine
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				/ Ansible Lint (push) Successful in 2m9s
				
			
		
		
	
	
		
	
		
			All checks were successful
		
		
	
	/ Ansible Lint (push) Successful in 2m9s
				
			Active connections should survive a restart of the service and testing also didn't show any issues.
This commit is contained in:
		
					parent
					
						
							
								9c57fca876
							
						
					
				
			
			
				commit
				
					
						3548c1f4d6
					
				
			
		
					 3 changed files with 9 additions and 6 deletions
				
			
		|  | @ -1,3 +1,5 @@ | |||
| - name: reboot the system | ||||
| - name: restart the ssh service | ||||
|   ansible.builtin.systemd: | ||||
|     name: ssh.service | ||||
|     state: restarted | ||||
|   become: true | ||||
|   ansible.builtin.reboot: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue