Return stderr/stdout on changes too
If changes were made, you sometimes want info on what they were. Change-Id: Ibdb662c0d66e73028211374ea58f106876d74b59
This commit is contained in:
parent
92c56e9e99
commit
b134ce47a8
|
@ -200,7 +200,7 @@ def main():
|
|||
error=True, stdout=stdout, stderr=stderr)
|
||||
elif rc == 2:
|
||||
# success with changes
|
||||
module.exit_json(rc=0, changed=True)
|
||||
module.exit_json(rc=0, changed=True, stdout=stdout, stderr=stderr)
|
||||
elif rc == 124:
|
||||
# timeout
|
||||
module.exit_json(
|
||||
|
|
Loading…
Reference in New Issue