From 2797b9f7fb3de94f6733334a87a489e76cc93bc4 Mon Sep 17 00:00:00 2001 From: "Nathan A. Feger" Date: Tue, 12 Jun 2012 19:32:42 -0500 Subject: [PATCH] Adding note about ${vars} Add a note about how it is possible to use ${var} in addition to $var --- rst/playbooks.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rst/playbooks.rst b/rst/playbooks.rst index a927987e1c..6141c48576 100644 --- a/rst/playbooks.rst +++ b/rst/playbooks.rst @@ -99,7 +99,9 @@ The `vars` section contains a list of variables and values that can be used in t These variables can be used later in the playbook like this:: - $varname + $varname or ${varname} + +The later is useful in the event you need to do something like ${other}_concatenated_value. In templates, the full power of the Jinja2 templating language is also available, which looks like this::