Look at the wait_for module, it should be able to help you if you need
to, uh, wait for a specific state.

On 13 November 2017 at 07:27, Harish Singh <[email protected]> wrote:
> Hey !!
>
> If I am working with ansible service module, if in case my tomcat take time 
> more then min. Or 2 min. How can I verify if my service stop only then next 
> step will run. ??
>
> Or service module can take care this will hold till services not stopped. ??
>
> Live env took time so not able to test please verify
>
> 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/4fb1c6f9-d7ed-4784-99b7-8cca80ba66e9%40googlegroups.com.
> 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/CAK5eLPTSeextaMtD5A7hdS5zdYCoemBFDR8kx2Qzq0UxEQrgKA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to