summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/any_errors_fatal/play_level.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/any_errors_fatal/play_level.yml')
-rw-r--r--test/integration/targets/any_errors_fatal/play_level.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/integration/targets/any_errors_fatal/play_level.yml b/test/integration/targets/any_errors_fatal/play_level.yml
new file mode 100644
index 0000000..d5a8920
--- /dev/null
+++ b/test/integration/targets/any_errors_fatal/play_level.yml
@@ -0,0 +1,15 @@
+- hosts: testhost
+ gather_facts: no
+ any_errors_fatal: true
+ tasks:
+ - name: EXPECTED FAILURE shell exe of /bin/false for testhost
+ shell: '{{ "/bin/false" if inventory_hostname == "testhost" else "/bin/true" }}'
+
+ - debug:
+ msg: "any_errors_fatal_play_level_post_fail"
+
+- hosts: testhost
+ any_errors_fatal: true
+ tasks:
+ - debug:
+ msg: "and in another play"