From 6af8ae9887c4760ef75727d8e838ab1270e63401 Mon Sep 17 00:00:00 2001 From: Amit Sagtani Date: Mon, 28 Oct 2024 14:42:47 +0100 Subject: [PATCH] temp: increase session timeout in ansible --- bin/autodeploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/autodeploy.sh b/bin/autodeploy.sh index 7ce6a417a..151cdcc7c 100755 --- a/bin/autodeploy.sh +++ b/bin/autodeploy.sh @@ -151,7 +151,7 @@ preprovision_hetzner() { else export LC_ALL=C.UTF-8 fi - ansible-playbook ../ansible/hetzner-single-deploy.yml -e "artifact_hash=$ARTIFACT_HASH" -e "ansible_ssh_common_args='-o ServerAliveInterval=60 -o ServerAliveCountMax=3'" -i $SSH_USER@webapp."$TARGET_SYSTEM", --diff + ansible-playbook ../ansible/hetzner-single-deploy.yml -e "artifact_hash=$ARTIFACT_HASH" -e "ansible_ssh_common_args='-o ServerAliveInterval=30 -o ServerAliveCountMax=10 -o ControlMaster=auto -o ControlPersist=180m'" -i $SSH_USER@webapp."$TARGET_SYSTEM", --diff } remote_deployment() {