I tried async and wait_for, but both didn't give me the expected result. I ended up writing a small wrapper script that executes the command, and it works.
Op donderdag 13 april 2017 00:15:35 UTC+2 schreef J Hawkesworth: > > If the ruby script does something like write a file when it has finished > you could use async to kick off the job and then use wait_for to wait until > the file is written. There are other things you can wait for such as ports > as well as files. > > Hope this helps, > > Jon > > -- 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/207ba1d4-f042-43b8-af85-10ae8c01fdd7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
