The only way I've seen to control the parallelism of a task is with the 
--fork flag.  Is there any way to control this at the task level?  

# First three tasks can occur fully concurrently
- task 1
- task 2
- task 3

# Then I want to perform this block one host at a time to perform a rolling 
upgrade
-task 4
-task 5



In my case, the first three tasks take a long time but are not a risk when 
performing an upgrade.  Task 4/5 actually take services down so I want to 
only perform them one host at a time.

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/14f0f45e-ba18-4ece-abeb-49bc837114a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to