Commit 3064ca94 by Michael DeHaan

Merge pull request #5665 from Taytay/devel

Colon in example failure message causes a YAML compile error
parents 2a46022b 5fce7656
...@@ -82,7 +82,7 @@ If a required variable has not been set, you can skip or fail using Jinja2's ...@@ -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!" - shell: echo "I've got '{{ foo }}' and am not afraid to use it!"
when: foo is defined 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 when: bar is not defined
This is especially useful in combination with the conditional import of vars This is especially useful in combination with the conditional import of vars
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment