Hello Pradeep, See https://github.com/mfriedenhagen/huschteguzzel-fabric/blob/master/roles/jenkins/tasks/start_jenkins.yml for an example using curl. Depending on your usecase you should probably make this a local_action.
Regards Mirko -- Sent from my mobile On Feb 17, 2015 6:01 PM, "Pradeep Bhadani" <[email protected]> wrote: > Hi , > > I want to pause my playbook until one url returns 200 as status code. > URL may take several minutes to return 200 . > I am not sure what is the best way to achieve this. > can anyone guide me? > > Thanks, > Pradeep > > > -- > 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/7bf2cc1c-5769-4d60-8a46-5de5ca304194%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/7bf2cc1c-5769-4d60-8a46-5de5ca304194%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAK8jvqxAv66Q6kJn-r8swqW%2Bu2WQSW4GJL7S8kgmeWy8WDv1oQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
