Increase ssh timeout and add retry for Ansible
[apex.git] / lib / ansible / playbooks / deploy_dependencies.yml
index 8a57521..d274967 100644 (file)
@@ -78,3 +78,9 @@
         regexp: "tostring"
         path: /usr/lib/python3.4/site-packages/virtualbmc/vbmc.py
       when: vbmc_py.stat.exists == True
+    - name: Add ssh retry to Ansible config
+      ini_file:
+        path: /etc/ansible/ansible.cfg
+        section: ssh_connection
+        option: retries
+        value: 5