summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorGanesh Nalawade <ganesh634@gmail.com>2017-08-23 18:28:44 -0400
committerBrian Coca <bcoca@users.noreply.github.com>2017-08-23 18:28:44 -0400
commitcd8c1c11087c6de3a20eb2c2978321f36a92cf9b (patch)
treeeed96080483214cc5c03da14cc1db63d43302de6 /bin
parent9407a17c4016889e5783fd07bc650e436457054b (diff)
downloadansible-cd8c1c11087c6de3a20eb2c2978321f36a92cf9b.tar.gz
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-xbin/ansible-connection2
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