mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-21 11:34:15 -07:00
Adding ability to set ssh args from config file
This commit is contained in:
parent
6de8c27085
commit
9851066f4d
3 changed files with 17 additions and 2 deletions
|
@ -66,3 +66,16 @@ remote_port=22
|
|||
|
||||
#private_key_file=/path/to/file
|
||||
|
||||
[paramiko_connection]
|
||||
|
||||
# nothing to configure yet
|
||||
|
||||
[ssh_connection]
|
||||
|
||||
# if uncommented, sets the ansible ssh arguments to the following. Leaving off ControlPersist
|
||||
# will result in poor performance, so use transport=paramiko on older platforms rather than
|
||||
# removing it
|
||||
|
||||
ssh_args=-o ControlMaster=auto -o ControlPersist=60s -o ControlPath=/tmp/ansible-ssh-%h-%p-%r
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue