I tried everything, wait_for, async etc. The quickest and easiest way was to fix the problem was to create a wrapper script and execute it with the script module.
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/bb4a54ed-8cbf-482e-9d1a-b8478560b370%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
