I am facing this annoying bug: Ansible hosts are randomly unreachable #18188 .
Is there a way to tell Ansible that if SSH connection fails, to try it once more? Or 2 times more?
According this post New SSH Retry In Ansible 2.0? there is "retries" option but it doesn't seem very trustworthy to me, the person who posted didn't even get SSH header right and there is no mention of this in Ansible docs.