diff options
Diffstat (limited to 'test/integration/targets/blocks/43191-2.yml')
-rw-r--r-- | test/integration/targets/blocks/43191-2.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/integration/targets/blocks/43191-2.yml b/test/integration/targets/blocks/43191-2.yml new file mode 100644 index 0000000..4beda4e --- /dev/null +++ b/test/integration/targets/blocks/43191-2.yml @@ -0,0 +1,17 @@ +- hosts: localhost + gather_facts: false + tasks: + - block: + - block: + - name: EXPECTED FAILURE + fail: + always: + - block: + - debug: + always: + - debug: + rescue: + - assert: + that: + - ansible_failed_task is defined + - ansible_failed_result is defined |