Fix callout json plugin show global stats (#43123)

* fix callback Plugin json to support global stat set by set_stats module

* refactor to not break compatiblity, add trailing comma on output dict

* Remove sorted, as it not needed

* refactor, to sivels better code

* clean some code messup

* add changelog fragment

* added missing new line

* fix pep8 stuff
This commit is contained in:
David Baumann
2018-10-01 18:06:14 +02:00
committed by Matt Martz
parent 6b00d4df5d
commit c97f2b4c01
2 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
---
minor_changes:
- Add support for per_host:no stats for the callback plugin **json** (https://github.com/ansible/ansible/pull/43123)