Need to know if Ansible has capablity for parallel execution

Good Morning,

So the scenario is:
I have 2 VM’s on which i want to install linux parallely without waiting on one task to get completed. Is there a way in Ansible Playbooks to achieve this.
I know ansible playbooks has tasks which are executed simultaneously(one after another) but would like to know if we have something to run in parallel. If the answer is YES can you give me a small example.

Thanks,
Ashish Chanda

I think you want to use the ‘free’ strategy:

http://docs.ansible.com/ansible/latest/playbooks_strategies.html

Dick

There are various tricks for parallel running of playbooks:

https://www.slideshare.net/bcoca/more-tips-n-tricks

See slide 19 onwards

In the end I wound up using an external tool - lots of options there too. There’s a (closed) discussion on this topic here: https://github.com/ansible/proposals/issues/31