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?