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
show_custom_stats
    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
show_skipped_hosts
Default:
yes
ini entries:

[defaults ]
display_skipped_hosts = yes

env:DISPLAY_SKIPPED_HOSTS
Toggle to control displaying skipped task/host results in a task

Status

Author

  • UNKNOWN

Hint

If you notice any issues in this documentation you can edit this document <https://github.com/ansible/ansible/edit/devel/lib/ansible/plugins/callback/yaml.py_ to improve it.