Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ansible/ansible.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian P <5564491+s3lph@users.noreply.github.com>2022-07-28 17:09:05 +0300
committerGitHub <noreply@github.com>2022-07-28 17:09:05 +0300
commitcb9b20311c10c49f8e21e89e16011a0d0d7cd5d8 (patch)
tree99631d40b7ced391f5e867d23bc6cd688b32bc05
parent27b4b74e528c121638a9d8ee734fb8103dc8a846 (diff)
Update playbooks_variables.rst (#78359)
-rw-r--r--docs/docsite/rst/playbook_guide/playbooks_variables.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/docsite/rst/playbook_guide/playbooks_variables.rst b/docs/docsite/rst/playbook_guide/playbooks_variables.rst
index 5682a45864b..746c0057836 100644
--- a/docs/docsite/rst/playbook_guide/playbooks_variables.rst
+++ b/docs/docsite/rst/playbook_guide/playbooks_variables.rst
@@ -181,7 +181,7 @@ You can create variables from the output of an Ansible task with the task keywor
For more examples of using registered variables in conditions on later tasks, see :ref:`playbooks_conditionals`. Registered variables may be simple variables, list variables, dictionary variables, or complex nested data structures. The documentation for each module includes a ``RETURN`` section describing the return values for that module. To see the values for a particular task, run your playbook with ``-v``.
-Registered variables are stored in memory. You cannot cache registered variables for use in future plays. Registered variables are only valid on the host for the rest of the current playbook run.
+Registered variables are stored in memory. You cannot cache registered variables for use in future playbook runs. Registered variables are only valid on the host for the rest of the current playbook run, including subsequent plays within the same playbook run.
Registered variables are host-level variables. When you register a variable in a task with a loop, the registered variable contains a value for each item in the loop. The data structure placed in the variable during the loop will contain a ``results`` attribute, that is a list of all responses from the module. For a more in-depth example of how this works, see the :ref:`playbooks_loops` section on using register with a loop.