From 2841edbebdf4384b2300c02388ddfafce29e8c48 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Fri, 24 Jan 2014 15:23:25 -0800 Subject: [PATCH] Add hints about what data goes into the variable It's not immediately obvious what all can be accessed from the register variable. Breadcrumbs to use -v would help. --- docsite/rst/playbooks_variables.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsite/rst/playbooks_variables.rst b/docsite/rst/playbooks_variables.rst index 61e231ed119..0c21767e658 100644 --- a/docsite/rst/playbooks_variables.rst +++ b/docsite/rst/playbooks_variables.rst @@ -569,7 +569,7 @@ or variables defined elsewhere in the playbook. Registered Variables ```````````````````` -Another major use of variables is running a command and using the result of that command to save the result into a variable. +Another major use of variables is running a command and using the result of that command to save the result into a variable. Results will vary from module to module. Use of -v when executing playbooks will show possible values for the results. The value of a task being executed in ansible can be saved in a variable and used later. See some examples of this in the :doc:`playbooks_conditionals` chapter.