Commit 2841edbe by Jesse Keating

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.
parent fc304675
...@@ -569,7 +569,7 @@ or variables defined elsewhere in the playbook. ...@@ -569,7 +569,7 @@ or variables defined elsewhere in the playbook.
Registered Variables 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 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. :doc:`playbooks_conditionals` chapter.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment