community.general/lib/ansible/plugins/callback/skippy.py

40 lines
1.3 KiB
Python
Raw Normal View History

2015-07-20 03:55:39 +00:00
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com>
#
# 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
2015-10-17 05:49:36 +00:00
from __future__ import (absolute_import, division, print_function)
2015-07-20 03:55:39 +00:00
__metaclass__ = type
2015-12-12 22:50:55 +00:00
from ansible.plugins.callback.default import CallbackModule as CallbackModule_default
2015-07-20 03:55:39 +00:00
2015-12-12 22:50:55 +00:00
class CallbackModule(CallbackModule_default):
2015-07-20 03:55:39 +00:00
'''
This is the default callback interface, which simply prints messages
to stdout when new callback events are received.
'''
CALLBACK_VERSION = 2.0
CALLBACK_TYPE = 'stdout'
CALLBACK_NAME = 'skippy'
2015-12-12 22:50:55 +00:00
def v2_runner_on_skipped(self, result):
pass
2015-11-15 18:09:24 +00:00
2016-03-18 19:15:59 +00:00
def v2_runner_item_on_skipped(self, result):
2015-12-12 22:50:55 +00:00
pass