mirror of https://github.com/ansible/ansible.git
* Prevents callback handle_exception from displaying the captured exception when the task is not failed.
* Added tests.
(cherry picked from commit 2fbd7c114e)
Co-authored-by: Matt Clay <matt@mystile.com>
pull/85618/head
parent
68378c85cb
commit
5a20b991d4
@ -0,0 +1,4 @@
|
||||
bugfixes:
|
||||
- failed_when - When using ``failed_when`` to suppress an error, the ``exception`` key in the result is renamed to ``failed_when_suppressed_exception``.
|
||||
This prevents the error from being displayed by callbacks after being suppressed.
|
||||
(https://github.com/ansible/ansible/issues/85505)
|
||||
@ -1,2 +1,3 @@
|
||||
gather_facts/no
|
||||
shippable/posix/group4
|
||||
context/controller
|
||||
|
||||
Loading…
Reference in New Issue