How is the DNS record created?
On Sunday, January 25, 2015 at 2:36:35 AM UTC+1, Yaroslav Tkachenko wrote: > > Hey guys, > > I'm writing very simple task - I have a web app that I start and it takes > a few minutes before it goes online. I thought it can be done like this: > > - name: Waiting for the new environment to be online > uri: url=http://SOME_URL/api/heartbeat timeout=900 > async: 900 > poll: 10 > > But the problem is: SOME_URL is not resolvable instantly, it's a new DNS > record. So task fails with the error "msg: Unable to resolve the host name > given.". > Is there any way to solve this issue? > > Thanks! > -- 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/997f6c9b-72c7-49c1-b006-fda39d43bb60%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
