3 ms·
> This includes enhanced network capabilities such as persistent connections framework, which allows for one SSH connection to stay active across multiple Ansib
by xienze 10y ago
> This includes enhanced network capabilities such as persistent connections framework, which allows for one SSH connection to stay active across multiple Ansible tasks. This reduces the total time for completion, and according to Cramer, it improves performance as well.
Can confirm, this helps tremendously.
- Florin_Andrei 10y agoHow is this different from pipelining?
- jctanner_awx 10y agoPipelining is a method to stream the module code over the ssh connection straight into the interpreter without first writing it to disk. Connection persistence is identical to openssh's controlpersist mechanisms to reduce the amount of setup/teardown on connections. The networking modules in ansible make use of paramiko for ssh, which could not take advantage of controlpersist. In ansible 2.3 we wrote a tool to emulate controlpersist for paramiko.