ansible.builtin.json (v2.9.27) — callback

Ansible screen output as JSON

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

Authors: unknown

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

This callback converts all events into JSON output to stdout


Requirements

Inputs

    
show_custom_stats:
    default: false
    description: This adds the custom stats set via the set_stats plugin to the play recap
    env:
    - name: ANSIBLE_SHOW_CUSTOM_STATS
    ini:
    - key: show_custom_stats
      section: defaults
    name: Show custom stats
    type: bool
    version_added: '2.6'
    version_added_collection: ansible.builtin