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
5e8bed33
Commit
5e8bed33
authored
Jul 28, 2016
by
Jesse Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DEBUG DO NOT MERGE make the ANSIBLE_TIMER_LOG json timing log file rw for everyone
parent
9b547dd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
playbooks/callback_plugins/task_timing.py
+5
-0
No files found.
playbooks/callback_plugins/task_timing.py
View file @
5e8bed33
...
...
@@ -185,6 +185,11 @@ class JsonTimingLogger(TimingLogger):
LOGGER
.
exception
(
"Unable to write json timing log messages"
)
try
:
os
.
chmod
(
log_path
,
0666
)
except
Exception
:
LOGGER
.
exception
(
"Could not make the ANSIBLE_TIMER_LOG json timing log file rw for everyone."
)
try
:
print
(
"ANSIBLE_TIMER_LOG contents of the file are: "
)
with
open
(
log_path
,
'r'
)
as
log_file
:
print
log_file
.
read
()
...
...
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