Skip to content

Commit

Permalink
Add SSH server alive messages to Ansible connections
Browse files Browse the repository at this point in the history
The server alive messages make detection of failed connections
quicker.
  • Loading branch information
rmol committed Jan 6, 2021
1 parent b72032d commit dc31c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install_files/ansible-base/ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ agnostic_become_prompt=False

[ssh_connection]
scp_if_ssh=True
ssh_args = -o ControlMaster=auto -o ControlPersist=1200
ssh_args = -o ControlMaster=auto -o ControlPersist=1200 -o ServerAliveInterval=10 -o ServerAliveCountMax=3
pipelining=True

0 comments on commit dc31c3a

Please sign in to comment.