From 9ae4a12625e05a613aab56696eb9c4645073edf9 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 1 Aug 2016 16:49:49 -0600 Subject: [PATCH] Retry SSH connections five times This may help with some of the problems we've been seeing. Related to http://tracker.ceph.com/issues/16826 Inspired by https://github.com/ansible/ansible/issues/13401#issuecomment-216768025 Signed-off-by: Zack Cerza --- ansible.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ansible.cfg b/ansible.cfg index 5122162..31accbc 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -4,3 +4,6 @@ ansible_managed = This file is managed by ansible, don't make changes here - the # be changed when it lives in a production environment vault_password_file = ~/.vault_pass.txt timeout = 120 + +[ssh_connection] +retries = 5 -- 2.39.5