json - Ansible screen output as JSON
New in version 2.2.
Synopsis
- This callback converts all events into JSON output to stdout
Requirements
The below requirements are needed on the local master node that executes this callback.
- Set as stdout in config
Parameters
Parameter | Choices/Defaults | Configuration | Comments |
---|---|---|---|
show_custom_stats bool (added in 2.6) |
| ini entries: [defaults ] env:ANSIBLE_SHOW_CUSTOM_STATS | This adds the custom stats set via the set_stats plugin to the play recap |
Status
Author
- UNKNOWN
Hint
If you notice any issues in this documentation you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.6/plugins/callback/json.html