Difference between revisions of "Modify Ansible configuration to reuse ssh connections"

From wikieduonline
Jump to navigation Jump to search
(Created page with "Modify ssh client Ansible uses to connect: change it from Paramiko to openssh client and modify <code>ControlPersist</code> in <code>ssh_args</code> option. Do it...")
 
 
Line 1: Line 1:
 
Modify ssh client Ansible uses to connect: change it from Paramiko to [[openssh client]] and modify <code>[[ControlPersist]]</code> in <code>[[ssh_args]]</code> option. Do it in your <code>[[ansible.cfg]]</code> file. (Note than Ansible will use a different <code>ControlPath</code> that your openssh configuration. Default to: <code>~/.ansible/cp</code>)
 
Modify ssh client Ansible uses to connect: change it from Paramiko to [[openssh client]] and modify <code>[[ControlPersist]]</code> in <code>[[ssh_args]]</code> option. Do it in your <code>[[ansible.cfg]]</code> file. (Note than Ansible will use a different <code>ControlPath</code> that your openssh configuration. Default to: <code>~/.ansible/cp</code>)
  
 +
== Related ==
 +
* [[Pipelining]]
  
 
== See also ==
 
== See also ==

Latest revision as of 12:04, 4 February 2022

Advertising: