ansible / ansible.posix / 1.5.4 / callback / jsonl Ansible screen output as JSONL (lines in json format) Authors: unknownansible.posix.jsonl (1.5.4) — callback
Install with ansible-galaxy collection install ansible.posix:==1.5.4
collections: - name: ansible.posix version: 1.5.4
This callback converts all events into JSON output to stdout
This callback in contrast with ansible.posix.json uses less memory, because it doesn't store results.
json_indent: default: 0 description: If specified, use this many spaces for indenting in the JSON output. If not specified or <= 0, write to a single line. env: - name: ANSIBLE_JSON_INDENT ini: - key: json_indent section: defaults name: Use indenting for the JSON output type: integer 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