f2f6c34632
* check run state of current block only * Add changelog and test * Add test for issue 29047 * Fix for both tests * blerg * Change test messages * fix tests * Add multi-level block in rescue test case * Add recursive rescue check and multi-level test * Should probably run the new test * ci_complete * Merge new tests * ci_complete
13 lines
326 B
YAML
13 lines
326 B
YAML
---
|
|
- name: "EXPECTED FAILURE"
|
|
block:
|
|
- fail:
|
|
msg: "EXPECTED FAILURE"
|
|
rescue:
|
|
- name: Assert that ansible_failed_task is defined
|
|
assert:
|
|
that: ansible_failed_task is defined
|
|
|
|
- name: Assert that ansible_failed_result is defined
|
|
assert:
|
|
that: ansible_failed_result is defined
|