Hi everyone, how are you doing?

I have a conceptual question that I would like your comments if possible.

 

I’m using async with poll 0 on a loop. Something like this
*async: 45*
*poll: 0*
*with_items: "{{ big_list }}"*

Let’s say this loop has 50 commands.

All the commands are started almost at the same time. So far so good.

 

But when Ansible starts waiting for the conclusion on the next task with 
something like this

*until: async_poll_results.finished*

*retries: 30*

 

I notice that if the first job fails after 10 retries.
Ansible will keep waiting for the other jobs, but it will not continue the 
countdown from 20. IT will restart the countdown to 30 again.

I think that’s not ideal, because my waiting time can grow greatly if the 
first ones are delayed, and the latter only starts after that.

Is there any way I can use only one countdown for all the jobs in a batch 
with no restarts?

 

-- 
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/32844d00-cf8a-42ae-83f7-8a48bcc2db61n%40googlegroups.com.

Reply via email to