access: increase command timeout when setting config
Some options take a while to enable. Like port-security.
This commit is contained in:
		
							parent
							
								
									08a0cdd994
								
							
						
					
					
						commit
						60dd62c00f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -15,7 +15,7 @@
 | 
			
		|||
  ansible.netcommon.cli_config:
 | 
			
		||||
    config: '{{ lookup("template", "config-"~manufacturer~"-"~device_type~".j2") }}'
 | 
			
		||||
  vars:
 | 
			
		||||
    ansible_command_timeout: 60
 | 
			
		||||
    ansible_command_timeout: 240
 | 
			
		||||
    ansible_terminal_stderr_re: [] # some errors are not actually errors
 | 
			
		||||
  register: result
 | 
			
		||||
  # These lines are not displayed by 'sho ru' and always reported as different, so ignore them.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue