http://docs.ansible.com/ansible/latest/intro_configuration.html#timeout

This says that the default timeout is 10 seconds. 

So, it means after every 10 seconds it makes a new connection ?

What if some task is running and the connection times out ? What will 
happen then ?

I am sorry If I am asking annoying questions. Please don't mind.

On Thursday, July 20, 2017 at 7:28:23 PM UTC+5:30, Brian Coca wrote:
>
> Depends ... but if using defaults (ssh with control persist enabled) 
> you should have the persistent connection still at task2 for both 
> hosts ... unless the time between tasks is greater than the connection 
> timeout (60s) ... which should only happen if you are processing a LOT 
> of hosts at a time.  In those cases you normally want to restrict the 
> play targets or use serial batches. 
>
>
> -- 
> ---------- 
> Brian Coca 
>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c27ca998-6047-41de-9350-73b313e54ce6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to