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
58bfaa9e
Commit
58bfaa9e
authored
8 years ago
by
John Eskew
Committed by
Feanil Patel
8 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Derive CallbackModules from CallbackBase.
parent
fb369ec7
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 @
58bfaa9e
...
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
playbooks/callback_plugins/sqs.py
View file @
58bfaa9e
...
...
@@ -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.
...
...
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