Is there an Ansible task timeout?

1,678 views
Skip to first unread message

Neil Hooey

unread,
Sep 25, 2015, 8:45:18 PM9/25/15
to Ansible Project
Is there any way to set a timeout for how long a task can take?

When I run an Ansible playbook on hundreds of nodes with concurrency enabled, tasks get stuck on the slowest node. It's hard to find out which node is going slow because the node's IP address will only get printed when the task succeeds or fails, but not if it takes forever.

Brian Coca

unread,
Sep 26, 2015, 1:16:38 PM9/26/15
to Ansible Project
with async you can specify a timeout.
> --
> 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 ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/4ada94c5-e4e1-4263-979f-df20afad0977%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Brian Coca
Reply all
Reply to author
Forward
0 new messages