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
f8a95414
Commit
f8a95414
authored
Sep 25, 2012
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add __init__ to action plugins
parent
730b6171
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/ansible/runner/__init__.py
+2
-2
No files found.
lib/ansible/runner/__init__.py
View file @
f8a95414
...
@@ -44,7 +44,7 @@ except ImportError:
...
@@ -44,7 +44,7 @@ except ImportError:
HAS_ATFORK
=
False
HAS_ATFORK
=
False
dirname
=
os
.
path
.
dirname
(
__file__
)
dirname
=
os
.
path
.
dirname
(
__file__
)
action_plugin
s
=
utils
.
import_plugins
(
os
.
path
.
join
(
dirname
,
'action_plugins'
))
action_plugin
_list
=
utils
.
import_plugins
(
os
.
path
.
join
(
dirname
,
'action_plugins'
))
################################################
################################################
...
@@ -141,7 +141,7 @@ class Runner(object):
...
@@ -141,7 +141,7 @@ class Runner(object):
# instantiate plugin classes
# instantiate plugin classes
self
.
action_plugins
=
{}
self
.
action_plugins
=
{}
for
(
k
,
v
)
in
action_plugin
s
.
iteritems
():
for
(
k
,
v
)
in
action_plugin
_list
.
iteritems
():
self
.
action_plugins
[
k
]
=
v
.
ActionModule
(
self
)
self
.
action_plugins
[
k
]
=
v
.
ActionModule
(
self
)
# *****************************************************
# *****************************************************
...
...
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