From 5fce765601faa275239f735295cb1881f2c0a86a Mon Sep 17 00:00:00 2001 From: Taylor Brown Date: Fri, 17 Jan 2014 14:09:52 +0100 Subject: [PATCH] Removing colon from example failure message The example failure message was given as - fail: msg="Bailing out: this play requires 'bar'" The colon in the example causes a YAML compile error, so I am replacing it with a '.' --- docsite/rst/playbooks_conditionals.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsite/rst/playbooks_conditionals.rst b/docsite/rst/playbooks_conditionals.rst index 2dc1329c3e..b9894d6278 100644 --- a/docsite/rst/playbooks_conditionals.rst +++ b/docsite/rst/playbooks_conditionals.rst @@ -82,7 +82,7 @@ If a required variable has not been set, you can skip or fail using Jinja2's - shell: echo "I've got '{{ foo }}' and am not afraid to use it!" when: foo is defined - - fail: msg="Bailing out: this play requires 'bar'" + - fail: msg="Bailing out. this play requires 'bar'" when: bar is not defined This is especially useful in combination with the conditional import of vars