summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/blocks/issue71306.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/blocks/issue71306.yml')
-rw-r--r--test/integration/targets/blocks/issue71306.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/integration/targets/blocks/issue71306.yml b/test/integration/targets/blocks/issue71306.yml
new file mode 100644
index 00000000..9762f6ee
--- /dev/null
+++ b/test/integration/targets/blocks/issue71306.yml
@@ -0,0 +1,16 @@
+- hosts: all
+ gather_facts: no
+ tasks:
+ - block:
+ - block:
+ - block:
+ - name: EXPECTED FAILURE
+ fail:
+ when: ansible_host == "host1"
+
+ - debug:
+ msg: "I am successful!"
+ run_once: true
+ rescue:
+ - debug:
+ msg: "Attemp 1 failed!"