diff options
Diffstat (limited to 'lib/ansible/plugins/callback/context_demo.py')
-rw-r--r-- | lib/ansible/plugins/callback/context_demo.py | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/lib/ansible/plugins/callback/context_demo.py b/lib/ansible/plugins/callback/context_demo.py index 89e729f2ec..08add61625 100644 --- a/lib/ansible/plugins/callback/context_demo.py +++ b/lib/ansible/plugins/callback/context_demo.py @@ -1,21 +1,20 @@ # (C) 2012, Michael DeHaan, <michael.dehaan@gmail.com> +# (c) 2017 Ansible Project +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) + +''' +DOCUMENTATION: + callback: context_demo + type: aggregate + short_description: demo callback that adds play/task context + description: + - Displays some play and task context along with normal output + - This is mostly for demo purposes + version_added: "2.1" + requirements: + - whitelist in configuration +''' -# 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/>. - -# Make coding more python3-ish from __future__ import (absolute_import, division, print_function) __metaclass__ = type |