mirror of https://github.com/poanetwork/gecko.git
ansible: Speedup playbook execution by reusing ssh connections
This restores the default ssh_args for Ansible. When present Ansible instructs ssh to keep a connection open for a short period after exiting. Subsequent ssh processes can then skip TCP & SSH hand shake.
This commit is contained in:
parent
9b68599834
commit
9a3f803bad
|
@ -9,5 +9,8 @@ host_key_checking = false
|
||||||
# However, remote systems must not have requiretty set in /etc/sudoers.
|
# However, remote systems must not have requiretty set in /etc/sudoers.
|
||||||
pipelining = true
|
pipelining = true
|
||||||
ssh_args =
|
ssh_args =
|
||||||
|
-C
|
||||||
|
-o ControlMaster=auto
|
||||||
|
-o ControlPersist=60s
|
||||||
-o ForwardAgent=yes
|
-o ForwardAgent=yes
|
||||||
-o UserKnownHostsFile=/dev/null
|
-o UserKnownHostsFile=/dev/null
|
||||||
|
|
Loading…
Reference in New Issue