Documentation

yaml - yaml-ized Ansible screen output

New in version 2.5.

Synopsis

  • Ansible output that can be quite a bit easier to read than the default JSON formatting.

Requirements

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

  • set as stdout in configuration

Parameters

Parameter Choices/Defaults Configuration Comments
display_failed_stderr
boolean

(added in 2.7)
Default:
no
ini entries:

[defaults]
display_failed_stderr = no

env:ANSIBLE_DISPLAY_FAILED_STDERR
Toggle to control whether failed tasks are displayed to STDERR (vs. STDOUT)
display_ok_hosts
boolean

(added in 2.7)
Default:
yes
ini entries:

[defaults]
display_ok_hosts = yes

env:ANSIBLE_DISPLAY_OK_HOSTS
Toggle to control displaying 'ok' task/host results in a task
display_skipped_hosts
boolean
Default:
yes
ini entries:

[defaults]
display_skipped_hosts = yes

env:DISPLAY_SKIPPED_HOSTS
Toggle to control displaying skipped task/host results in a task
show_custom_stats
bool
    Choices:
  • no ←
  • yes
ini entries:

[defaults]
show_custom_stats = no

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

Status

Author

  • UNKNOWN

Hint

If you notice any issues in this documentation you can edit this document to improve it.