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
3d25b4a7
Commit
3d25b4a7
authored
Apr 05, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Standardize args/kwargs on connection plugins.
parent
d5d26bab
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
lib/ansible/runner/connection_plugins/fireball.py
+1
-1
lib/ansible/runner/connection_plugins/local.py
+1
-1
lib/ansible/runner/connection_plugins/paramiko_ssh.py
+1
-1
lib/ansible/runner/connection_plugins/ssh.py
+1
-1
No files found.
lib/ansible/runner/connection_plugins/fireball.py
View file @
3d25b4a7
...
...
@@ -34,7 +34,7 @@ except ImportError:
class
Connection
(
object
):
''' ZeroMQ accelerated connection '''
def
__init__
(
self
,
runner
,
host
,
port
,
**
kwargs
):
def
__init__
(
self
,
runner
,
host
,
port
,
*
args
,
*
*
kwargs
):
self
.
runner
=
runner
...
...
lib/ansible/runner/connection_plugins/local.py
View file @
3d25b4a7
...
...
@@ -29,7 +29,7 @@ from ansible.callbacks import vvv
class
Connection
(
object
):
''' Local based connections '''
def
__init__
(
self
,
runner
,
host
,
port
,
**
kwargs
):
def
__init__
(
self
,
runner
,
host
,
port
,
*
args
,
*
*
kwargs
):
self
.
runner
=
runner
self
.
host
=
host
# port is unused, since this is local
...
...
lib/ansible/runner/connection_plugins/paramiko_ssh.py
View file @
3d25b4a7
...
...
@@ -43,7 +43,7 @@ SFTP_CONNECTION_CACHE = {}
class
Connection
(
object
):
''' SSH based connections with Paramiko '''
def
__init__
(
self
,
runner
,
host
,
port
,
user
,
password
,
private_key_file
):
def
__init__
(
self
,
runner
,
host
,
port
,
user
,
password
,
private_key_file
,
*
args
,
**
kwargs
):
self
.
ssh
=
None
self
.
sftp
=
None
...
...
lib/ansible/runner/connection_plugins/ssh.py
View file @
3d25b4a7
...
...
@@ -32,7 +32,7 @@ from ansible import utils
class
Connection
(
object
):
''' ssh based connections '''
def
__init__
(
self
,
runner
,
host
,
port
,
user
,
password
,
private_key_file
):
def
__init__
(
self
,
runner
,
host
,
port
,
user
,
password
,
private_key_file
,
*
args
,
**
kwargs
):
self
.
runner
=
runner
self
.
host
=
host
self
.
port
=
port
...
...
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