I have just found a mini workaround with *ansible_command_timeout *which
can be used per command (instead of modifying the global
PERSISTENT_COMMAND_TIMEOUT for all commands):
vars:
ansible_connection: network_cli
ansible_network_os: nxos
ansible_password: "{{ connections.ssh.password }}"
ansible_user: "{{ connections.ssh.username }}"
*ansible_command_timeout*: "{{ firmware.transfer_timeout }}"
net_get:
...
However, if there is a real issue during the transfer so that the target
does not answer any more, we have to wait until *ansible_command_timeout *times
out before moving on, although the transfer issue may have happened at the
beginning of the transfer.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/7f4d2dfe-db66-4946-bcb4-af50d0a4021f%40googlegroups.com.