summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorJames Cammarata <jimi@sngx.net>2015-05-05 13:41:32 -0500
committerJames Cammarata <jimi@sngx.net>2015-05-05 13:41:32 -0500
commit8fae2abed4c12a55ae0c98b374b9bfd2fb4d287e (patch)
treedd7b615635b91256fc0189bde5bbb4d0945a8f86 /samples
parentfba5588028def5463f9b281fe69f117b76c3845b (diff)
downloadansible-8fae2abed4c12a55ae0c98b374b9bfd2fb4d287e.tar.gz
Properly fail out of the task loop in the linear strategy on failures (v2)
Diffstat (limited to 'samples')
-rw-r--r--samples/test_play_failure.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/samples/test_play_failure.yml b/samples/test_play_failure.yml
new file mode 100644
index 0000000000..b33fc2e757
--- /dev/null
+++ b/samples/test_play_failure.yml
@@ -0,0 +1,9 @@
+- hosts: localhost
+ gather_facts: no
+ tasks:
+ - fail:
+
+- hosts: localhost
+ gather_facts: no
+ tasks:
+ - debug: msg="you should not see me..."