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
|
@ -15,7 +15,7 @@
|
||||||
ansible.netcommon.cli_config:
|
ansible.netcommon.cli_config:
|
||||||
config: '{{ lookup("template", "config-"~manufacturer~"-"~device_type~".j2") }}'
|
config: '{{ lookup("template", "config-"~manufacturer~"-"~device_type~".j2") }}'
|
||||||
vars:
|
vars:
|
||||||
ansible_command_timeout: 60
|
ansible_command_timeout: 240
|
||||||
ansible_terminal_stderr_re: [] # some errors are not actually errors
|
ansible_terminal_stderr_re: [] # some errors are not actually errors
|
||||||
register: result
|
register: result
|
||||||
# These lines are not displayed by 'sho ru' and always reported as different, so ignore them.
|
# These lines are not displayed by 'sho ru' and always reported as different, so ignore them.
|
||||||
|
|
Loading…
Reference in a new issue