Skip to content

Commit

Permalink
Add ServerAliveInterval and ServerAliveCountMax to Ansible ssh parame…
Browse files Browse the repository at this point in the history
…ters in inventory files
  • Loading branch information
simonpane committed Jan 26, 2025
1 parent c0ec964 commit 3762194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-oracle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ INSTANCE_HOSTNAME_PARAM="^[a-z0-9]+$"
INSTANCE_SSH_KEY="${INSTANCE_SSH_KEY:-~/.ssh/id_rsa}"
INSTANCE_SSH_KEY_PARAM="^.+$"

INSTANCE_SSH_EXTRA_ARGS="${INSTANCE_SSH_EXTRA_ARGS:-'-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o IdentityAgent=no'}"
INSTANCE_SSH_EXTRA_ARGS="${INSTANCE_SSH_EXTRA_ARGS:-'-o ServerAliveInterval=60 -o ServerAliveCountMax=3 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o IdentityAgent=no'}"
INSTANCE_SSH_EXTRA_ARGS_PARAM="^/.+$"

NTP_PREF="${NTP_PREF}"
Expand Down

0 comments on commit 3762194

Please sign in to comment.