mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #118 from nafeger/master
simple docs request about using ${var}
This commit is contained in:
commit
1b249b87be
1 changed files with 3 additions and 1 deletions
|
@ -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::
|
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::
|
In templates, the full power of the Jinja2 templating language is also available, which looks like this::
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue