# Lookup plugins and async tasks

**URL:** <https://forum.ansible.com/t/lookup-plugins-and-async-tasks/14076>\
**Category:** Ansible Project\
**Created:** [December 5, 2013, 6:28pm UTC](https://forum.ansible.com/t/lookup-plugins-and-async-tasks/14076 "2013-12-05T18:28:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jurgen\_Haas2](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@Jurgen\_Haas2](https://forum.ansible.com/u/Jurgen_Haas2)\
**Post date:** [December 5, 2013, 6:28pm UTC](https://forum.ansible.com/t/lookup-plugins-and-async-tasks/14076/1 "2013-12-05T18:28:35Z")

</div>

Some of my subversion checkout tasks take really long and I do not have to wait for them. So I thought async with no polling would do the job. Unfortunately, the definition of my subversion tasks is in a hash and so I wanted to use with\_items but then I learned that those can’t be combined.

The task looks like this:

- name: “Install from SVN”  
subversion: repo=‘{{item.src}}’  
dest=‘{{item.dest}}’  
force=yes  
sudo: no  
async: 6000  
poll: 0  
with\_items: repositories

And here is the error message:

fatal: [HOST] =\> lookup plugins (with\_\*) cannot be used with async tasks

Any chance to get this working or another module which would do the job instead?

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [December 5, 2013, 8:47pm UTC](https://forum.ansible.com/t/lookup-plugins-and-async-tasks/14076/2 "2013-12-05T20:47:25Z")

</div>

There’s always a chance for everything, something you might wish to work on?

– Michael

---

<div class="post-metadata">

**Author:** ![Jurgen\_Haas2](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@Jurgen\_Haas2](https://forum.ansible.com/u/Jurgen_Haas2)\
**Post date:** [December 6, 2013, 7:32am UTC](https://forum.ansible.com/t/lookup-plugins-and-async-tasks/14076/3 "2013-12-06T07:32:25Z")

</div>

I wish I had Python skills. So, I’m no good candidate I’m afraid, although a huge contributor to open source otherwise.
