Ansible parallel task execution failing(async)

20 views
Skip to first unread message

CORLEONE##

unread,
May 28, 2019, 7:11:57 AM5/28/19
to ansible...@googlegroups.com
Hello guys , i am trying  to run 2 tasks (both are import_tasks) parallely using async and poll but it is not running  as expected. Tried async with invoking cmd or commands simply and that  worked.
Can you guys give some suggestions?
Thanks,
Manash

Barun kumar

unread,
May 28, 2019, 8:05:52 AM5/28/19
to ansible...@googlegroups.com
If you could provide us playbook and error screen shots,  that will help us to guide you better.

--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEaHSXZJkE8aBGDGfgys1iRkAKu23BJXPc39bft07AWoNjmsYA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Brian Coca

unread,
May 29, 2019, 9:17:47 AM5/29/19
to Ansible Project
async does not affect imports nor includes, in 2.8 you will get an
error on include since it does not apply to it, for imports it is
inherited by all imported tasks, but the imports themselves will NOT
be async.

----------
Brian Coca
Reply all
Reply to author
Forward
0 new messages