summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/blocks/always_no_rescue_rc.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/blocks/always_no_rescue_rc.yml')
-rw-r--r--test/integration/targets/blocks/always_no_rescue_rc.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/integration/targets/blocks/always_no_rescue_rc.yml b/test/integration/targets/blocks/always_no_rescue_rc.yml
new file mode 100644
index 0000000..a4e8641
--- /dev/null
+++ b/test/integration/targets/blocks/always_no_rescue_rc.yml
@@ -0,0 +1,12 @@
+- hosts: localhost
+ gather_facts: no
+ tasks:
+ - block:
+ - name: EXPECTED FAILURE
+ fail:
+ msg: Failure in block
+ always:
+ - debug:
+ msg: Always
+ - debug:
+ msg: DID NOT RUN