Update SSH Options for ansible-provision.sh
When ansible is going over a NAT Gateway or other intermdiate network devices, the connection can time out if that device has its own timeout setting for no traffic. Setting the ServerAliveInterval will ensure that there is data sent over the wire ever 30 seconds so the connection does not get closed while running ansible tasks that take over 5 minutes.
Showing
Please
register
or
sign in
to comment