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/e3d8ac02-d203-4628-bf44-60b0000c3a96%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
