diff options
author | Ganesh Nalawade <ganesh634@gmail.com> | 2017-08-24 00:28:44 +0200 |
---|---|---|
committer | Brian Coca <bcoca@users.noreply.github.com> | 2017-08-24 00:28:44 +0200 |
commit | cd8c1c11087c6de3a20eb2c2978321f36a92cf9b (patch) | |
tree | eed96080483214cc5c03da14cc1db63d43302de6 /bin | |
parent | Fix example (diff) | |
download | ansible-cd8c1c11087c6de3a20eb2c2978321f36a92cf9b.tar.xz ansible-cd8c1c11087c6de3a20eb2c2978321f36a92cf9b.zip |
Create persistent socket path using port and connection type (#28492)
* Create persistent socket path using port and connection type
* Use remote address, port, connection type and remote user
to create a socket path.
* Fix review comment
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ansible-connection | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ansible-connection b/bin/ansible-connection index d2d10e71c2..31fd0ac0f7 100755 --- a/bin/ansible-connection +++ b/bin/ansible-connection @@ -295,7 +295,7 @@ def main(): sys.exit("FAIL: %s" % e) ssh = connection_loader.get('ssh', class_only=True) - cp = ssh._create_control_path(pc.remote_addr, pc.port, pc.remote_user) + cp = ssh._create_control_path(pc.remote_addr, pc.port, pc.remote_user, pc.connection) # create the persistent connection dir if need be and create the paths # which we will be using later |