Merge pull request #5759 from j2sol/register-hints

Add hints about what data goes into the variable
This commit is contained in:
jctanner 2014-01-29 12:22:18 -08:00
commit 34db2d17e3

View file

@ -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.