From cf39ee33600cf71a9585a56eaa117bcdfbdc59b6 Mon Sep 17 00:00:00 2001 From: John Hensley Date: Wed, 6 Jan 2021 16:55:50 -0500 Subject: [PATCH] Add SSH server alive messages to Ansible connections The server alive messages make detection of failed connections quicker. --- install_files/ansible-base/ansible.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_files/ansible-base/ansible.cfg b/install_files/ansible-base/ansible.cfg index 2e1af17b11..73dc83109c 100644 --- a/install_files/ansible-base/ansible.cfg +++ b/install_files/ansible-base/ansible.cfg @@ -13,5 +13,5 @@ agnostic_become_prompt=False [ssh_connection] scp_if_ssh=True -ssh_args = -o ControlMaster=auto -o ControlPersist=1200 +ssh_args = -o ControlMaster=auto -o ControlPersist=1200 -o ServerAliveInterval=10 -o ServerAliveCountMax=3 pipelining=True