diff options
author | Kevin London <kevinlondon@gmail.com> | 2016-03-23 13:31:16 -0700 |
---|---|---|
committer | Kevin London <kevinlondon@gmail.com> | 2016-03-23 13:31:16 -0700 |
commit | d6f3a1423a55046074ea17c8e21e5cb44ec48fe6 (patch) | |
tree | 4fddeeb4c861bdf02d8040debb5df923289dea58 | |
parent | 85cc3b734fe85d7c83af9d608859cd19613dbbe8 (diff) | |
download | ansible-d6f3a1423a55046074ea17c8e21e5cb44ec48fe6.tar.gz |
Update faq.rst
Minor changes to spacing and names of variables
-rw-r--r-- | docsite/rst/faq.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docsite/rst/faq.rst b/docsite/rst/faq.rst index 15ebbc15f9..c946856665 100644 --- a/docsite/rst/faq.rst +++ b/docsite/rst/faq.rst @@ -340,11 +340,11 @@ 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:: - {{ 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:: - {{ hostvars[inventory_hostname]['somevar_' + other_var] }} + {{ hostvars[inventory_hostname]['somevar_' + other_var] }} .. _i_dont_see_my_question: |