title: Ansible task timeout max length
body: <p>I execute a <code>shell: docker ps ...</code> task in some of my playbooks. This normally works but sometimes the docker daemon hangs and <code>docker ps</code> does not return for ~2 hours.</p>
  
  <p>How can I configure Ansible to timeout in a reasonable amount of time if <code>docker ps</code> does not return?</p>