In our use case we often have projects where we configure and deploy different hosts, through different playbooks.
When including those playbooks in a master playbook, the different playbooks are executed sequentially (which is an obvious design choice in ansible).
Though in some cases, there’s no need to do that, and the included playbooks, or at least some of them, may be executed in parallel.
I don’t think there’s an option to do that right now. Do you think it would be an interesting option to group certain playbooks for parallel execution?
Serge
There is presently not an option to do that right now.
The way we're going to handle this (and I know, I've not shown code
yet) is ansible-commander is going to have a scheduling API, and a job
engine, so it can run more than one back and give you very nice
summarizable output.
In the present system if we taught /usr/bin/ansible-playbook to do it
the output would be rather discombobulated, or would wait for playbook
runs to complete to show, which we obviously don't like.
Hence it will be a *major* feature of the ansible-commander project
(which again, should be started on github this week, but will take a
while to evolve... it's not a HUGE effort, but we are approaching it
pretty systematically).
I will share more about short-term roadmap for that in a few days.
--Michael
Thanks for the info, this makes perfect sense.
Serge