Speed up deploys with Ansible's pipelining option
The main bottleneck for us is still just uploading the full source code, there might be some clever option I'm not using for that yet of like, compression or something? But this change did take the process down from like 5 minutes to 3 minutes, so, works for me!
This commit is contained in:
parent
2e7bdc47d7
commit
65eaa031dd
1 changed files with 5 additions and 0 deletions
|
@ -1,2 +1,7 @@
|
||||||
[defaults]
|
[defaults]
|
||||||
inventory = inventory.cfg
|
inventory = inventory.cfg
|
||||||
|
|
||||||
|
[ssh_connection]
|
||||||
|
# Pipelining is an optimization that's off by default for compatibility, but runs
|
||||||
|
# playbooks much faster when it's available. It works in our case, so use it!
|
||||||
|
pipelining = True
|
||||||
|
|
Loading…
Reference in a new issue