ansible.builtin.minimal (v2.16.0) — callback

minimal Ansible screen output

| "added in version" historical of ansible.builtin"

Authors: unknown

Install Ansible via pip

Install with pip install ansible-core==2.16.0

Description

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

Inputs

    
result_format:
    choices:
    - json
    - yaml
    default: json
    description:
    - 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.
    env:
    - name: ANSIBLE_CALLBACK_RESULT_FORMAT
    ini:
    - key: callback_result_format
      section: defaults
    name: Format of the task result
    type: str
    version_added: '2.13'
    version_added_collection: ansible.builtin

pretty_results:
    default: null
    description:
    - Configure the result format to be more readable
    - When O(result_format) is set to V(yaml) this option defaults to V(True), and defaults
      to V(False) when configured to V(json).
    - Setting this option to V(True) will force V(json) and V(yaml) results to always
      be pretty printed regardless of verbosity.
    - When set to V(True) and used with the V(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 V(False) or set O(result_format)
      to V(json).
    env:
    - name: ANSIBLE_CALLBACK_FORMAT_PRETTY
    ini:
    - key: callback_format_pretty
      section: defaults
    name: Configure output for readability
    type: bool
    version_added: '2.13'
    version_added_collection: ansible.builtin