Ansible Module ansible.builtin.assert

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

This module asserts that given expressions are true with an optional custom message.

- name: ...
  assert: 
    that: 
    fail_msg:
    success_msg:

Module Parameters

that

A list of string expressions of the same form that can be passed to the when statement.