I'm trying to work around the following limitation: lookup plugins (with_*) 
cannot be used with async tasks

My objective is to startup a set of listeners on a set of servers using 
socat.  My thwarted plan was
Host_vars/hostname
   listeners: [234, 567, 890]

  - name: setup listeners
    command: socat TCP-LISTEN:{{ item }},crlf,fork GOPEN:/dev/null
    with_items: listeners
    async: 10
    poll: 0

Any suggestions on how I could rework my approach?

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/e95912b2-416e-4577-a712-05fee40a3ed6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to