summaryrefslogtreecommitdiff
path: root/samples/ignore_errors.yml
diff options
context:
space:
mode:
Diffstat (limited to 'samples/ignore_errors.yml')
-rw-r--r--samples/ignore_errors.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/samples/ignore_errors.yml b/samples/ignore_errors.yml
new file mode 100644
index 0000000000..5845d049c4
--- /dev/null
+++ b/samples/ignore_errors.yml
@@ -0,0 +1,10 @@
+- hosts: localhost
+ connection: local
+ gather_facts: no
+ tasks:
+ - fail:
+ ignore_errors: yes
+ - debug: msg="you should still see this"
+ - fail:
+ - debug: msg="you should NOT see this"
+