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
edx
configuration
Commits
9b547dd5
Commit
9b547dd5
authored
Jul 27, 2016
by
Calen Pennington
Committed by
Jesse Zoldak
Jul 27, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! Support Ansible 2.0
parent
ed893482
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
playbooks/callback_plugins/task_timing.py
+6
-1
No files found.
playbooks/callback_plugins/task_timing.py
View file @
9b547dd5
...
...
@@ -6,6 +6,12 @@ from os.path import splitext, basename, exists, dirname
import
sys
import
time
try
:
from
ansible.plugins.callback
import
CallbackBase
except
ImportError
:
# Support Ansible 1.9.x
CallbackBase
=
object
import
datadog
logging
.
basicConfig
(
level
=
logging
.
INFO
,
stream
=
sys
.
stdout
)
...
...
@@ -16,7 +22,6 @@ LOGGER = logging.getLogger(__name__)
"""
Originally written by 'Jharrod LaFon'
#https://github.com/jlafon/ansible-profile/blob/master/callback_plugins/profile_tasks.py
"""
ANSIBLE_TIMER_LOG
=
os
.
environ
.
get
(
'ANSIBLE_TIMER_LOG'
)
...
...
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