Documentation
assert
Assert given expressions are true.
Attributes
check_mode:
support: always
Parameters
Parameter | Required | Type | Values | Description |
---|---|---|---|---|
that | true | array | A list of string expressions of the same form that can be passed to the when statement. |
Example
- assert:
that:
- boo is defined
- 1 + 1 == 2
- env.MY_VAR is defined