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

Note

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

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.

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

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 = None
    
  • Environment variable: LOGDNA_HOSTNAME

conf_key

string / required

LogDNA Ingestion Key

Configuration:

  • INI entry:

    [callback_logdna]
    conf_key = None
    
  • Environment variable: LOGDNA_INGESTION_KEY

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:

  • no ← (default)

  • yes

Configuration:

  • INI entry:

    [callback_logdna]
    plugin_ignore_errors = no
    
  • Environment variable: ANSIBLE_IGNORE_ERRORS

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.