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
a5dd2801
Commit
a5dd2801
authored
Jun 29, 2012
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up the output of the raw module when run within /usr/bin/ansible
parent
d95914ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
CHANGELOG.md
+1
-0
lib/ansible/utils.py
+1
-1
No files found.
CHANGELOG.md
View file @
a5dd2801
...
...
@@ -25,6 +25,7 @@ Ansible Changes By Release
*
SELinux facts now sourced from the python selinux library
*
removed module debug option -D
*
added --verbose, which shows output from successful playbook operations
*
print the output of the raw command inside /usr/bin/ansible as with command/shell
0.
4 "Unchained" ------- May 23, 2012
...
...
lib/ansible/utils.py
View file @
a5dd2801
...
...
@@ -132,7 +132,7 @@ def host_report_msg(hostname, module_name, result, oneline):
''' summarize the JSON results for a particular host '''
buf
=
''
failed
=
is_failed
(
result
)
if
module_name
in
[
'command'
,
'shell'
]
and
'ansible_job_id'
not
in
result
:
if
module_name
in
[
'command'
,
'shell'
,
'raw'
]
and
'ansible_job_id'
not
in
result
:
if
not
failed
:
buf
=
command_success_msg
(
hostname
,
result
,
oneline
)
else
:
...
...
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