Documentation

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

    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

    that:
      type: list
      required: true
      description: |
        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