On 22.07.2019 13:06, John Simmons wrote:
I have a task that I need to run a command module for, but I need it to
fail after a specific amount of time. I'm going to be using blocks so I can
then move to recovery when it fails.
what's the best way of assigning a timeout to a task?

With async
https://docs.ansible.com/ansible/latest/user_guide/playbooks_async.html


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/242bcf03d6337ae5738a02f774468049%40olstad.com.

Reply via email to