Skip to content

_emit_warning

Note

Always use the FQCN (Fully Qualified Collection Name) arista.avd._emit_warning when using this plugin.

Internal module - DO NOT USE - Emit a warning in a task.

Synopsis

Emit a warning in a task.

Parameters

Argument Type Required Default Value Restrictions Description
message str optional None The warning message to emit.

Examples

---
- name: Emit a warning
  arista.avd._emit_warning:
    message |-
      The warning message.
  delegate_to: localhost
  check_mode: false
  run_once: true
  changed_when: false

Authors

  • Arista Networks (@aristanetworks)