mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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.
This commit is contained in:
parent
fc30467593
commit
2841edbebd
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue