ansible/test/integration/targets/blocks/block_fail_tasks.yml
Jordan Borean d55ddec923
Revert Clear failed state in always only if we did rescue (#52968)
* 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
2019-02-26 16:22:32 +10:00

9 lines
138 B
YAML

- block:
- name: EXPECTED FAILURE
fail:
msg: failure
always:
- name: run always task
debug:
msg: TEST COMPLETE