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
b30f4688
Commit
b30f4688
authored
Jul 31, 2012
by
Timothy Appnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
concatenating stdout and stderr in runner/__init__'s _low_level_exec_command.
parent
9f7ad623
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
lib/ansible/runner/__init__.py
+9
-2
No files found.
lib/ansible/runner/__init__.py
View file @
b30f4688
...
...
@@ -616,9 +616,16 @@ class Runner(object):
stdin
,
stdout
,
stderr
=
conn
.
exec_command
(
cmd
,
tmp
,
sudo_user
,
sudoable
=
sudoable
)
if
type
(
stdout
)
!=
str
:
return
"
\n
"
.
join
(
stdout
.
readlines
())
out
=
"
\n
"
.
join
(
stdout
.
readlines
())
else
:
return
stdout
out
=
stdout
if
type
(
stderr
)
!=
str
:
err
=
"
\n
"
.
join
(
stderr
.
readlines
())
else
:
err
=
stderr
return
out
+
err
# *****************************************************
...
...
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