Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
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
configuration
Commits
6d6ebe6b
Commit
6d6ebe6b
authored
Dec 08, 2016
by
John Eskew
Committed by
Feanil Patel
Dec 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Derive CallbackModules from CallbackBase.
parent
7ce1c502
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
playbooks/callback_plugins/hipchat_plugin.py
+2
-1
playbooks/callback_plugins/sqs.py
+2
-1
No files found.
playbooks/callback_plugins/hipchat_plugin.py
View file @
6d6ebe6b
...
...
@@ -9,9 +9,10 @@ try:
import
hipchat
except
ImportError
:
hipchat
=
None
from
ansible.plugins.callback
import
CallbackBase
class
CallbackModule
(
object
):
class
CallbackModule
(
CallbackBase
):
"""Send status updates to a HipChat channel during playbook execution.
This plugin makes use of the following environment variables:
...
...
playbooks/callback_plugins/sqs.py
View file @
6d6ebe6b
...
...
@@ -28,9 +28,10 @@ except ImportError:
else
:
import
boto.sqs
from
boto.exception
import
NoAuthHandlerFound
from
ansible.plugins.callback
import
CallbackBase
class
CallbackModule
(
object
):
class
CallbackModule
(
CallbackBase
):
"""
This Ansible callback plugin sends task events
to SQS.
...
...
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