How to run two tasks at the same time

Hi ,

How to run two tasks at the same time ? Kindly let me know if anyone knows about it.

Regards,
Prathap

By default ansible executs tasks in parallel across the targeted hosts
(limited by --forks). But I'm guessing you want on the same target,
there is no way to spawn 2 tasks in parallel at the same time, but
'async' will get you close (it will start executing the 'next task'
w/o waiting for the current to finish).

https://docs.ansible.com/ansible/latest/user_guide/playbooks_async.html