diff options
Diffstat (limited to 'docsite/latest/rst/YAMLSyntax.rst')
-rw-r--r-- | docsite/latest/rst/YAMLSyntax.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docsite/latest/rst/YAMLSyntax.rst b/docsite/latest/rst/YAMLSyntax.rst index b8fb861cbb..ce15390bd3 100644 --- a/docsite/latest/rst/YAMLSyntax.rst +++ b/docsite/latest/rst/YAMLSyntax.rst @@ -95,6 +95,12 @@ You will want to quote any hash values using colons, like so: 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:: :doc:`playbooks` |