Skip to content

Commit d64d53a

Browse files
committed
Ansible: speed-up the connection by fine-tuning ansible.cfg
1 parent 6d3705d commit d64d53a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

operations/deployment/ansible/ansible.cfg

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ host_key_checking = False
66
transport = ssh
77

88
[ssh_connection]
9-
ssh_args = -o ForwardAgent=yes
9+
# speed-up the connection by using pipelining, ControlPersist and ControlMaster
10+
pipelining = True
11+
ssh_args = -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=600s

0 commit comments

Comments
 (0)