mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Adding note about ${vars}
Add a note about how it is possible to use ${var} in addition to $var
This commit is contained in:
@@ -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::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user