summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorGanesh Nalawade <ganesh634@gmail.com>2017-08-01 21:33:11 +0530
committerGitHub <noreply@github.com>2017-08-01 21:33:11 +0530
commit19fac707fa7f9e74d1cc8091d1be91925659f892 (patch)
tree22d7685cea8ce9f091647c7cfa1221e0d9db14eb /bin
parent5f73bdc3bf3821c957cddbf81febfc13b3de9af9 (diff)
downloadansible-19fac707fa7f9e74d1cc8091d1be91925659f892.tar.gz
junos_netconf integration test failure fix (#27569)
* Create socket using port value and not connection type * Correct error message in integration test task
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 fde1883e1f..073de82af5 100755
--- a/bin/ansible-connection
+++ b/bin/ansible-connection
@@ -292,7 +292,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.connection, pc.remote_user)
+ cp = ssh._create_control_path(pc.remote_addr, pc.port, pc.remote_user)
# create the persistent connection dir if need be and create the paths
# which we will be using later