mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
* 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
10 lines
138 B
YAML
10 lines
138 B
YAML
- block:
|
|
- name: EXPECTED FAILURE
|
|
fail:
|
|
msg: failure
|
|
|
|
always:
|
|
- name: run always task
|
|
debug:
|
|
msg: TEST COMPLETE
|