Skip to content

Commit

Permalink
pass keepalive args to ansible playbook
Browse files Browse the repository at this point in the history
  • Loading branch information
amitsagtani97 committed Oct 28, 2024
1 parent e76ef60 commit 58de567
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_timeout=120" -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=60 -o ServerAliveCountMax=3'" -i $SSH_USER@webapp."$TARGET_SYSTEM", --diff
}

remote_deployment() {
Expand Down

0 comments on commit 58de567

Please sign in to comment.