mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-02-04 07:51:50 +00:00
fix return value exception (#11149)
* fix return value `exception` * add changelog frag * adjustments after review * typo * adjust changelog frag * vmadm: send rc, stdout, and stderr to fail_json() * rundeck: pass tracebacks * Update changelogs/fragments/11149-rv-exception.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Update changelogs/fragments/11149-rv-exception.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
a986d81c3d
commit
79b16d9ca5
3 changed files with 15 additions and 8 deletions
3
changelogs/fragments/11149-rv-exception.yml
Normal file
3
changelogs/fragments/11149-rv-exception.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
minor_changes:
|
||||
- rundeck module utils - improve handling the return value ``exception``. It now contains the full stack trace of the exception, while the message is included in ``msg`` (https://github.com/ansible-collections/community.general/pull/11149).
|
||||
- vmadm - in case of failure, the module no longer returns the stderr output as ``exception``, but instead as ``stderr``. Other information (``stdout``, ``rc``) is now also returned (https://github.com/ansible-collections/community.general/pull/11149).
|
||||
Loading…
Add table
Add a link
Reference in a new issue