d55ddec923
* Revert "Clear failed state in always only if we did rescue (#52829)"
This reverts commit f135960fc2
.
* Add tests for failed scenario
* Set failed task with EXPECTED FAILURE
9 lines
138 B
YAML
9 lines
138 B
YAML
- block:
|
|
- name: EXPECTED FAILURE
|
|
fail:
|
|
msg: failure
|
|
|
|
always:
|
|
- name: run always task
|
|
debug:
|
|
msg: TEST COMPLETE
|