On 2013-03-13 11:07, Yves Dorfsman wrote:
>
> Is there a way to set the number of forks from within a playbook?
>
> The default is fine for most of our playbooks, but one of them benefits from a
> higher number. I don't want to rely on people remembering to set -f20 for this
> particular playbook (that's why we use ansible, humans are unreliable!).
>
Anyway to do this?
Now I have another case where we install a piece of software that registers
against a manager, but, that manager server can only accept one registration
at a time... Being able to force "-f 1" (forks = 1 ???) would solve this issue
(and the one above!).
Because we don't want to rely on human memory (remembering to use -f1 when
running the playbook, or running the playbook once against each host with -l),
we ended up creating one group per host - clunky!