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 -- ---------- Brian Coca -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CACVha7coiye5ahUoMVp2NHvXFL5_BvZHdrzAjxsVZ-2VBjyMaw%40mail.gmail.com.
