ansible.builtin.minimal callback – minimal Ansible screen output


This callback plugin is part of ansible-core and included in all Ansible installations. In most cases, you can use the short plugin name minimal even without specifying the collections: keyword. However, we recommend you use the FQCN for easy linking to the plugin documentation and to avoid conflicting with other collections that may have the same callback plugin name.


  • This is the default output callback used by the ansible command (ad-hoc)






added in 2.13 of ansible.builtin

Configure the result format to be more readable

When the result format is set to yaml this option defaults to True, and defaults to False when configured to json.

Setting this option to True will force json and yaml results to always be pretty printed regardless of verbosity.

When set to True and used with the yaml result format, this option will modify module responses in an attempt to produce a more human friendly output at the expense of correctness, and should not be relied upon to aid in writing variable manipulations or conditionals. For correctness, set this option to False or set the result format to json.


  • no

  • yes


  • INI entry:

    callback_format_pretty = None
  • Environment variable: ANSIBLE_CALLBACK_FORMAT_PRETTY



added in 2.13 of ansible.builtin

Define the task result format used in the callback output.

These formats do not cause the callback to emit valid JSON or YAML formats.

The output contains these formats interspersed with other non-machine parsable data.


  • json ← (default)

  • yaml


  • INI entry:

    callback_result_format = json
  • Environment variable: ANSIBLE_CALLBACK_RESULT_FORMAT


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.