Matt Hughes wrote:
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?

Split your tasks into separate plays for the parallelisable, and single host sections.

On the single host section add a "serial: 1" to the play setup parameters.

See

http://docs.ansible.com/playbooks_delegation.html#rolling-update-batch-size

        Nigel.
--
[ Nigel Metheringham ------------------------------ [email protected] ]
[                 Ellipsis Intangible Technologies                  ]

--
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/5474F321.7090502%40dotdot.it.
For more options, visit https://groups.google.com/d/optout.

Reply via email to