Documentation

    PLEASE NOTE: This document applies to an unreleased version of rash. It is strongly recommended that you only use official releases of rash, as unreleased versions are subject to changes and incompatibilities that will not be supported in the official releases.

    If you are using an official release version of Rash, you should refer to the documentation for your specific version.

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

    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