mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Added stdout and stderr to puppet output for rc=2
This commit is contained in:
parent
fa9e1fd384
commit
f30dbc9b20
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ def main():
|
||||||
error=True, stdout=stdout, stderr=stderr)
|
error=True, stdout=stdout, stderr=stderr)
|
||||||
elif rc == 2:
|
elif rc == 2:
|
||||||
# success with changes
|
# success with changes
|
||||||
module.exit_json(rc=0, changed=True)
|
module.exit_json(rc=0, changed=True, stdout=stdout, stderr=stderr)
|
||||||
elif rc == 124:
|
elif rc == 124:
|
||||||
# timeout
|
# timeout
|
||||||
module.exit_json(
|
module.exit_json(
|
||||||
|
|
Loading…
Reference in a new issue