feat: acelerar ssh
This commit is contained in:
parent
972321637b
commit
62b191d039
10
ansible.cfg
10
ansible.cfg
@ -1,2 +1,12 @@
|
||||
[defaults]
|
||||
inventory = ./hosts.production
|
||||
forks = 10
|
||||
|
||||
[ssh_connection]
|
||||
ssh_args = -C -o ControlMaster=auto -o ControlPersist=1h -o PreferredAuthentications=publickey -o ForwardAgent=yes
|
||||
control_path_dir = ~/.ansible/cp
|
||||
control_path = /tmp/ssh-%%r@%%h:%%p
|
||||
pipelining = True
|
||||
scp_if_ssh = smart
|
||||
transfer_method = smart
|
||||
sftp_batch_mode = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user