ansible.posix.skippy callback – Ansible screen output that ignores skipped status

Note

This callback plugin is part of the ansible.posix collection (version 1.5.4).

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 ansible.posix. You need further requirements to be able to use this callback plugin, see Requirements for details.

To use it in a playbook, specify: ansible.posix.skippy.

DEPRECATED

Removed in

major release after 2022-06-01

Why

The ‘default’ callback plugin now supports this functionality

Alternative

‘default’ callback plugin with ‘display_skipped_hosts = no’ option

Synopsis

  • This callback does the same as the default except it does not output skipped host/task/item status

Requirements

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

  • set as main display callback

Parameters

Parameter

Comments

check_mode_markers

boolean

added in Ansible 2.9

Toggle to control displaying markers when running in check mode.

The markers are DRY RUN at the beginning and ending of playbook execution (when calling ansible-playbook --check) and CHECK MODE as a suffix at every play and task that is run in check mode.

Choices:

  • false ← (default)

  • true

Configuration:

  • INI entry:

    [defaults]
    check_mode_markers = false
    
  • Environment variable: ANSIBLE_CHECK_MODE_MARKERS

display_failed_stderr

boolean

added in Ansible 2.7

Toggle to control whether failed and unreachable tasks are displayed to STDERR (vs. STDOUT)

Choices:

  • false ← (default)

  • true

Configuration:

  • INI entry:

    [defaults]
    display_failed_stderr = false
    
  • Environment variable: ANSIBLE_DISPLAY_FAILED_STDERR

display_ok_hosts

boolean

added in Ansible 2.7

Toggle to control displaying ‘ok’ task/host results in a task

Choices:

  • false

  • true ← (default)

Configuration:

  • INI entry:

    [defaults]
    display_ok_hosts = true
    
  • Environment variable: ANSIBLE_DISPLAY_OK_HOSTS

display_skipped_hosts

boolean

Toggle to control displaying skipped task/host results in a task

Choices:

  • false

  • true ← (default)

Configuration:

  • INI entry:

    [defaults]
    display_skipped_hosts = true
    
  • Environment variable: ANSIBLE_DISPLAY_SKIPPED_HOSTS

show_custom_stats

boolean

This adds the custom stats set via the set_stats plugin to the play recap

Choices:

  • false ← (default)

  • true

Configuration:

  • INI entry:

    [defaults]
    show_custom_stats = false
    
  • Environment variable: ANSIBLE_SHOW_CUSTOM_STATS

show_per_host_start

boolean

added in Ansible 2.9

This adds output that shows when a task is started to execute for each host

Choices:

  • false ← (default)

  • true

Configuration:

  • INI entry:

    [defaults]
    show_per_host_start = false
    
  • Environment variable: ANSIBLE_SHOW_PER_HOST_START

show_task_path_on_failure

boolean

added in ansible-core 2.11

When a task fails, display the path to the file containing the failed task and the line number. This information is displayed automatically for every task when running with -vv or greater verbosity.

Choices:

  • false ← (default)

  • true

Configuration:

  • INI entry:

    [defaults]
    show_task_path_on_failure = false
    
  • Environment variable: ANSIBLE_SHOW_TASK_PATH_ON_FAILURE

Status

  • This callback will be removed in a major release after 2022-06-01. [deprecated]

  • For more information see DEPRECATED.

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.