feat: acelerar ssh

This commit is contained in:
f 2024-09-10 10:50:21 -03:00
parent 972321637b
commit 62b191d039
No known key found for this signature in database

View File

@ -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