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


On Monday, August 21, 2017 at 6:29:14 AM UTC+1, Dick Visser wrote:
>
> I think you want to use the 'free' strategy:
>
> http://docs.ansible.com/ansible/latest/playbooks_strategies.html
>
> Dick
>
>
> On Mon, 21 Aug 2017 at 05:51, ashish chanda <[email protected] 
> <javascript:>> wrote:
>
>> 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
>>
>> -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/ed54e4fd-65ca-4e45-8b97-de3b58b44021%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/ed54e4fd-65ca-4e45-8b97-de3b58b44021%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
> Dick Visser
> GÉANT
>
> Want to join us? We're hiring: https://www.geant.org/jobs
>

-- 
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/5b958c5a-193c-4f4e-921a-7545bf9c7bee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to