Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
c27db84e
Commit
c27db84e
authored
Jan 15, 2014
by
James Cammarata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding paramiko_alt - pipelining support for paramiko connections
parent
c627358c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lib/ansible/runner/__init__.py
+2
-2
lib/ansible/runner/connection_plugins/paramiko_alt.py
+0
-0
No files found.
lib/ansible/runner/__init__.py
View file @
c27db84e
...
...
@@ -440,7 +440,7 @@ class Runner(object):
host_variables
=
self
.
inventory
.
get_variables
(
host
)
host_connection
=
host_variables
.
get
(
'ansible_connection'
,
self
.
transport
)
if
host_connection
in
[
'paramiko'
,
'ssh'
,
'ssh_alt'
,
'accelerate'
]:
if
host_connection
in
[
'paramiko'
,
'
paramiko_alt'
,
'
ssh'
,
'ssh_alt'
,
'accelerate'
]:
port
=
host_variables
.
get
(
'ansible_ssh_port'
,
self
.
remote_port
)
if
port
is
None
:
port
=
C
.
DEFAULT_REMOTE_PORT
...
...
@@ -627,7 +627,7 @@ class Runner(object):
if
not
self
.
accelerate_port
:
self
.
accelerate_port
=
C
.
ACCELERATE_PORT
if
actual_transport
in
[
'paramiko'
,
'ssh'
,
'ssh_alt'
,
'accelerate'
]:
if
actual_transport
in
[
'paramiko'
,
'
paramiko_alt'
,
'
ssh'
,
'ssh_alt'
,
'accelerate'
]:
actual_port
=
inject
.
get
(
'ansible_ssh_port'
,
port
)
# the delegated host may have different SSH port configured, etc
...
...
lib/ansible/runner/connection_plugins/paramiko_alt.py
0 → 100644
View file @
c27db84e
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment