Add warning about skipped vars (#63599)

pull/64465/head
Caleb Collins-Parks 5 years ago committed by Sandra McCann
parent 0e4716d326
commit f178c49c02

@ -69,6 +69,7 @@ decide to do something conditionally based on success or failure::
.. note:: both `success` and `succeeded` work (`fail`/`failed`, etc).
.. warning:: You might expect a variable of a skipped task to be undefined and use `defined` or `default` to check that. **This is incorrect**! Even when a task is failed or skipped the variable is still registered with a failed or skipped status. See :ref:`registered_variables`.
To see what facts are available on a particular system, you can do the following in a playbook::

Loading…
Cancel
Save