From 95649dc793e178b9b9d796865db0a1ce2c2c2355 Mon Sep 17 00:00:00 2001 From: Pilou Date: Wed, 12 Sep 2018 23:33:07 +0200 Subject: [PATCH] FAQ: fix a typo, add link to 'vars' lookup (#42412) * FAQ: add link to vars plugin doc * Typo (s/Techinically/Technically/) --- docs/docsite/rst/reference_appendices/faq.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docsite/rst/reference_appendices/faq.rst b/docs/docsite/rst/reference_appendices/faq.rst index e029b801b5..639bbc255e 100644 --- a/docs/docsite/rst/reference_appendices/faq.rst +++ b/docs/docsite/rst/reference_appendices/faq.rst @@ -344,7 +344,7 @@ Also see dynamic_variables_. How do I access a group variable? +++++++++++++++++++++++++++++++++ -Techinically, you don't, Ansible does not really use groups directly. Groups are label for host selection and a way to bulk assign variables, they are not a first class entity, Ansible only cares about Hosts and Tasks. +Technically, you don't, Ansible does not really use groups directly. Groups are label for host selection and a way to bulk assign variables, they are not a first class entity, Ansible only cares about Hosts and Tasks. That said, you could just access the variable by selecting a host that is part of that group, see first_host_in_a_group_ below for an example. @@ -580,7 +580,7 @@ The above DOES NOT WORK as you expect, if you need to use a dynamic variable use {{ hostvars[inventory_hostname]['somevar_' + other_var] }} -For 'non host vars' you can use the vars lookup plugin: +For 'non host vars' you can use the :ref:`vars lookup` plugin: .. code-block:: jinja