summaryrefslogtreecommitdiff
path: root/lib/ansible/plugins/callback/json.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/plugins/callback/json.py')
-rw-r--r--lib/ansible/plugins/callback/json.py24
1 files changed, 6 insertions, 18 deletions
diff --git a/lib/ansible/plugins/callback/json.py b/lib/ansible/plugins/callback/json.py
index 1dd886ab2c..464605fe2f 100644
--- a/lib/ansible/plugins/callback/json.py
+++ b/lib/ansible/plugins/callback/json.py
@@ -1,29 +1,17 @@
# (c) 2016, Matt Martz <matt@sivel.net>
-#
-# This file is part of Ansible
-#
-# Ansible is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# Ansible is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
+# (c) 2017 Ansible Project
+# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
'''
DOCUMENTATION:
callback: json
- short_description: Ansbile screen output asjson
+ short_description: Ansbile screen output as JSON
version_added: "2.2"
description:
- - This callback converts all events into JSON output
+ - This callback converts all events into JSON output to stdout
type: stdout
- plugin_api_version: "2.0"
+ requirements:
+ - Set as stdout in config
'''
# Make coding more python3-ish