summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cammarata <jimi@sngx.net>2016-03-26 01:00:03 -0400
committerJames Cammarata <jimi@sngx.net>2016-03-26 01:00:03 -0400
commitc157b872ccf6aa99ef91bb22b376a3f19d6deec1 (patch)
tree89486fae20bb2e1aeacdaf8ff9e64c6c69471c6d
parentd00ac6e2d1aafcba08e165a7bb8943d07b836054 (diff)
parentd6f3a1423a55046074ea17c8e21e5cb44ec48fe6 (diff)
downloadansible-c157b872ccf6aa99ef91bb22b376a3f19d6deec1.tar.gz
Merge pull request #15129 from kevinlondon/patch-1
Update faq.rst
-rw-r--r--docsite/rst/faq.rst4
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: