Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 639 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 639 Bytes

defaultjson_ansible_callback

usage:

For single play usage, copy into callback_plugins folder relative to playbook and export environment variable

export ANSIBLE_STDOUT_CALLBACK=defaultjson
export ANSIBLE_JSON_LOG_FILE=test.log

debug:

To send JSON dump to STDOUT, export ANSIBLE_JSON_LOG_DEBUG e.g.

export ANSIBLE_JSON_LOG_DEBUG=true