Documentation

    PLEASE NOTE: This document applies to v1.2 version and not to the latest stable release v2.7

    Documentation for other releases can be found by using the version selector in the left bottom of any doc page.

    assert

    Assert given expressions are true.

    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