summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/any_errors_fatal/31543.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/any_errors_fatal/31543.yml')
-rw-r--r--test/integration/targets/any_errors_fatal/31543.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/integration/targets/any_errors_fatal/31543.yml b/test/integration/targets/any_errors_fatal/31543.yml
new file mode 100644
index 0000000000..19b0ba879e
--- /dev/null
+++ b/test/integration/targets/any_errors_fatal/31543.yml
@@ -0,0 +1,12 @@
+- hosts: testhost,testhost2
+ gather_facts: false
+ any_errors_fatal: true
+ tasks:
+ - block:
+ - fail:
+ when: inventory_hostname == 'testhost'
+ always:
+ - debug:
+
+ - debug:
+ msg: SHOULD NOT HAPPEN