mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
ANSIBLE_SSH_CONTROL_PATH_DIR option added (#18342)
* ANSIBLE_SSH_CONTROL_PATH_DIR option added This removes the hardcoded value ( $HOME/.ansible/cp ) from ssh.py. User is able to change the ControlPath directory ( the one that replaces %(directory)s ). Fixes #18325 * Added config option in ansible.cfg
This commit is contained in:
committed by
Toshio Kuratomi
parent
9547d6b422
commit
b18263cf36
@@ -295,6 +295,13 @@
|
||||
# paramiko on older platforms rather than removing it, -C controls compression use
|
||||
#ssh_args = -C -o ControlMaster=auto -o ControlPersist=60s
|
||||
|
||||
# The base directory for the ControlPath sockets.
|
||||
# This is the "%(directory)s" in the control_path option
|
||||
#
|
||||
# Example:
|
||||
# control_path_dir = /tmp/.ansible/cp
|
||||
#control_path_dir = $HOME/.ansible/cp
|
||||
|
||||
# The path to use for the ControlPath sockets. This defaults to
|
||||
# "%(directory)s/ansible-ssh-%%h-%%p-%%r", however on some systems with
|
||||
# very long hostnames or very long path names (caused by long user names or
|
||||
|
||||
Reference in New Issue
Block a user