diff --git a/ansible.cfg b/ansible.cfg index 6371566..2344f0b 100644 --- a/ansible.cfg +++ b/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