From 579e44424383b97ee6367ab562a3e3e416792d18 Mon Sep 17 00:00:00 2001 From: Dylan Martin Date: Mon, 30 Nov 2015 11:47:38 -0800 Subject: [PATCH] improved error message when no handler found --- lib/ansible/modules/files/unarchive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/files/unarchive.py b/lib/ansible/modules/files/unarchive.py index ac35ea58d88..d5df63a8def 100644 --- a/lib/ansible/modules/files/unarchive.py +++ b/lib/ansible/modules/files/unarchive.py @@ -250,7 +250,7 @@ def pick_handler(src, dest, module): obj = handler(src, dest, module) if obj.can_handle_archive(): return obj - module.fail_json(msg='Failed to find handler to unarchive. Make sure the required command to extract the file is installed.') + module.fail_json(msg='Failed to find handler for "%s". Make sure the required command to extract the file is installed.' % src) def main():