summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandra McCann <samccann@redhat.com>2020-10-12 14:52:24 -0400
committerGitHub <noreply@github.com>2020-10-12 13:52:24 -0500
commit7c1dd1c7fb2e068ad5026d78e879c9fff05a70e0 (patch)
treeb6939bf5795e6aa0b9eb766ba19ff95b4f2fee64
parentc084bc160cdb4cbecf0db1288568855eaf793543 (diff)
downloadansible-7c1dd1c7fb2e068ad5026d78e879c9fff05a70e0.tar.gz
add link to jinja docs from templating section (#72205)
-rw-r--r--docs/docsite/rst/user_guide/playbooks_templating.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/docsite/rst/user_guide/playbooks_templating.rst b/docs/docsite/rst/user_guide/playbooks_templating.rst
index 162ab81320..be7bf7afce 100644
--- a/docs/docsite/rst/user_guide/playbooks_templating.rst
+++ b/docs/docsite/rst/user_guide/playbooks_templating.rst
@@ -4,7 +4,7 @@
Templating (Jinja2)
*******************
-Ansible uses Jinja2 templating to enable dynamic expressions and access to variables. Ansible includes a lot of specialized filters and tests for templating. You can use all the standard filters and tests included in Jinja2 as well. Ansible also offers a new plugin type: :ref:`lookup_plugins`.
+Ansible uses Jinja2 templating to enable dynamic expressions and access to variables. Ansible includes a lot of specialized filters and tests for templating. You can use all the :ref:`standard filters and tests <jinja2:builtin-filters>` included in Jinja2 as well. Ansible also offers a new plugin type: :ref:`lookup_plugins`.
All templating happens on the Ansible controller **before** the task is sent and executed on the target machine. This approach minimizes the package requirements on the target (jinja2 is only required on the controller). It also limits the amount of data Ansible passes to the target machine. Ansible parses templates on the controller and passes only the information needed for each task to the target machine, instead of passing all the data on the controller and parsing it on the target.