On 01.03.2017 11:29, Paul Tötterman wrote:

Instead of pause you could use until: so it retries until you get 200.
https://docs.ansible.com/ansible/playbooks_loops.html#do-until-loops


Or wait_for: https://docs.ansible.com/ansible/wait_for_module.html

Can you use wait_for to check if a web server application return status code 200?
If so how? It's not clear to me after reading the documentation.

--
Kai Stian Olstad

--
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/9099b9c07a63166dfe4372a01916d91b%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to