From b4d7cf3d6fddbb6335ac22d599cb8a11bd8930a2 Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Wed, 19 Oct 2016 16:56:27 -0400 Subject: Override __init__ in default callback to avoid infinite loop. --- callback_plugins/default.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'callback_plugins') diff --git a/callback_plugins/default.py b/callback_plugins/default.py index bc0b207bb..c64145b5c 100644 --- a/callback_plugins/default.py +++ b/callback_plugins/default.py @@ -45,6 +45,9 @@ class CallbackModule(DEFAULT_MODULE.CallbackModule): # pylint: disable=too-few- CALLBACK_TYPE = 'stdout' CALLBACK_NAME = 'default' + def __init__(self, *args, **kwargs): + BASECLASS.__init__(self, *args, **kwargs) + def _dump_results(self, result): '''Return the text to output for a result.''' result['_ansible_verbose_always'] = True -- cgit v1.2.3