Difference between revisions of "Register: (Ansible)"

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
 
* [[Variables]]
 
* [[Variables]]
 
* <code>[[when:]]</code>
 
* <code>[[when:]]</code>
 +
* <code>[[msg: The task includes an option with an undefined variable.]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 12:46, 31 August 2022

You can create variables from the output of an Ansible task with the task keyword.

If a task fails or is skipped, Ansible still registers a variable with a failure or skipped status, unless the task is skipped based on tags. See Tags for information on adding and using tags.


Related terms

See also

Advertising: