mirror of https://github.com/ansible/ansible.git
Rewrite exception key on failed_when: false (#85516)
* Prevents callback handle_exception from displaying the captured exception when the task is not failed. * Added tests. Co-authored-by: Matt Clay <matt@mystile.com>pull/69947/merge
parent
737c68ace3
commit
2fbd7c114e
@ -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