mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 11:10:21 -07:00
Update faq.rst
Minor changes to spacing and names of variables
This commit is contained in:
parent
85cc3b734f
commit
d6f3a1423a
1 changed files with 2 additions and 2 deletions
|
@ -340,7 +340,7 @@ as this made it hard to distinguish between an undefined variable and a string.
|
||||||
|
|
||||||
Another rule is 'moustaches don't stack'. We often see this::
|
Another rule is 'moustaches don't stack'. We often see this::
|
||||||
|
|
||||||
{{ somvar_{{other_var}} }}
|
{{ somevar_{{other_var}} }}
|
||||||
|
|
||||||
The above DOES NOT WORK, if you need to use a dynamic variable use the hostvars or vars dictionary as appropriate::
|
The above DOES NOT WORK, if you need to use a dynamic variable use the hostvars or vars dictionary as appropriate::
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue