On Wed, 25 Nov 2020 10:06:41 -0800 (PST)
Prathap Dasari <[email protected]> wrote:

> I would like to run playbooks parallel . is it possible ?

No. It's not possible. The utility "ansible-playbook" is not able to
run playbooks in parallel. Only serial execution of plays or imported
playbooks is available. See "import_playbook"
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/import_playbook_module.html

Hypothetical asynchronous task "include_playbook" is probably what you
might be looking for. There is no such module and there are no
options how to create such task. Only tasks can be run in parallel.
See "Asynchronous actions and polling"
https://docs.ansible.com/ansible/latest/user_guide/playbooks_async.html

You'll have to start "ansible-playbook" for each playbook you want to
run in parallel.

-- 
Vladimir Botka

-- 
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/20201125195606.611d27f2%40gmail.com.

Attachment: pgpVFRKVFTJiO.pgp
Description: OpenPGP digital signature

Reply via email to