[CORD-1875]
Retry SSH connections in Ansible
Change-Id: I09be198fb53997f3de269ab91a8c08f7772735ca
(cherry picked from commit 590f89c632f58567e3c430228fa6c432f80b1719)
diff --git a/ansible.cfg b/ansible.cfg
index 073b1f5..3eadbcd 100644
--- a/ansible.cfg
+++ b/ansible.cfg
@@ -5,5 +5,6 @@
timeout=30
[ssh_connection]
-ssh_args = -o ControlMaster=auto -o ControlPersist=15s
+ssh_args = -o ControlMaster=auto -o ControlPersist=15s -o ConnectionAttempts=20
+retries=5
diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg
deleted file mode 100644
index bd331b2..0000000
--- a/ansible/ansible.cfg
+++ /dev/null
@@ -1,9 +0,0 @@
-[defaults]
-callback_plugins=/etc/ansible/callback_plugins/
-host_key_checking=False
-deprecation_warnings=False
-
-[privilege_escalation]
-become=True
-become_method=sudo
-become_user=root