community.general.logdna callback – Sends playbook logs to LogDNA

Note

This callback plugin is part of the community.general collection (version 7.5.2).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install community.general. You need further requirements to be able to use this callback plugin, see Requirements for details.

To use it in a playbook, specify: community.general.logdna.

Callback plugin

This plugin is a notification callback. It sends information for a playbook run to other applications, services, or systems. See Callback plugins for more information on callback plugins.

Synopsis

Requirements

The below requirements are needed on the local controller node that executes this callback.

Parameters

Parameter

Comments

conf_hostname

string

Alternative Host Name; the current host name by default.

Configuration:

  • INI entry:

    [callback_logdna]
    conf_hostname = VALUE
    
  • Environment variable: LOGDNA_HOSTNAME

conf_key

string / required

LogDNA Ingestion Key.

Configuration:

conf_tags

string

Tags.

Default: "ansible"

Configuration:

  • INI entry:

    [callback_logdna]
    conf_tags = ansible
    
  • Environment variable: LOGDNA_TAGS

plugin_ignore_errors

boolean

Whether to ignore errors on failing or not.

Choices:

  • false ← (default)

  • true

Configuration:

Authors

  • Unknown

Hint

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.