From d8509925264a2a0adbc4cb3af35dbe2284432280 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 7 Dec 2017 11:28:42 -0500 Subject: [PATCH] report correct file for callback --- lib/ansible/plugins/callback/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/callback/__init__.py b/lib/ansible/plugins/callback/__init__.py index 5f8b92124d5..6b41e1dd9c8 100644 --- a/lib/ansible/plugins/callback/__init__.py +++ b/lib/ansible/plugins/callback/__init__.py @@ -70,7 +70,7 @@ class CallbackBase(AnsiblePlugin): name = getattr(self, 'CALLBACK_NAME', 'unnamed') ctype = getattr(self, 'CALLBACK_TYPE', 'old') version = getattr(self, 'CALLBACK_VERSION', '1.0') - self._display.vvvv('Loading callback plugin %s of type %s, v%s from %s' % (name, ctype, version, __file__)) + self._display.vvvv('Loading callback plugin %s of type %s, v%s from %s' % (name, ctype, version, sys.modules[self.__module__].__file__)) self.disabled = False