Skip to content

Commit

Permalink
temp: increase session timeout in ansible
Browse files Browse the repository at this point in the history
  • Loading branch information
amitsagtani97 committed Oct 28, 2024
1 parent e17dfcb commit 6af8ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/autodeploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 6af8ae9

Please sign in to comment.