From b3d600f1ec61399db7415676e5d3e0f097b7af0b Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sun, 13 Mar 2016 10:03:57 +0100 Subject: [PATCH] Fix the lexer used, jinja2 is not valid, jinja is --- docsite/rst/faq.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsite/rst/faq.rst b/docsite/rst/faq.rst index ab8e5bc201c..15ebbc15f92 100644 --- a/docsite/rst/faq.rst +++ b/docsite/rst/faq.rst @@ -177,7 +177,7 @@ How do I loop over a list of hosts in a group, inside of a template? A pretty common pattern is to iterate over a list of hosts inside of a host group, perhaps to populate a template configuration file with a list of servers. To do this, you can just access the "$groups" dictionary in your template, like this: -.. code-block:: jinja2 +.. code-block:: jinja {% for host in groups['db_servers'] %} {{ host }}