Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/petems/ansible-json

A basic callback_plugin to output to json
https://github.com/petems/ansible-json

Last synced: 1 day ago
JSON representation

A basic callback_plugin to output to json

Awesome Lists containing this project

README

        

===============
ansible-json
===============

An Ansible plugin for outputting logs to json

Right now, it only outputs to stdout, but in the future it will output to a `.json` file.

# Usage

Make a directory called `callback_plugins` next to your playbook and put `json_logs.py` inside of it

```bash
mkdir callback_plugins
cd callback_plugins
wget https://raw.githubusercontent.com/petems/ansible-json/master/callback_plugins/json_logs.py
```