Mention YAML variable quoting.

This commit is contained in:
Michael DeHaan 2013-06-09 21:35:51 -04:00
parent 36c3c91d6e
commit 36e9cf5d7d

View file

@ -95,6 +95,12 @@ You will want to quote any hash values using colons, like so:
And then the colon will be preserved. And then the colon will be preserved.
Further, Ansible uses "{{ var }}" for variables. If a value after a colon starts
with a "{", YAML will think it a dictionary, so you must quote it, like so::
foo: "{{ variable }}"
.. seealso:: .. seealso::
:doc:`playbooks` :doc:`playbooks`