assert

Collection: builtin

Full Name: assert

Controller module — runs on the local controller, not on remote hosts.

Synopsis

Manage assert

Parameters

NameTypeRequiredDefaultDescription
thatlistyesA list of strings, each should be a test expression
fail_msgstringThe customized message used when the assertion fails
success_msgstringThe customized message used when the assertion succeeds
quietboolfalseSet this to true to avoid verbose output

Example

- name: Example assert task
  assert:
    that: <your_that>