From 3ffd55ce7f64f2d2d72ffea9b910150c7b5f6764 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Sat, 23 Apr 2016 11:14:47 -0700 Subject: [PATCH] Don't include "ansible" in the module output as there are a few files in the upper directory (args and the module) --- lib/ansible/executor/module_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/executor/module_common.py b/lib/ansible/executor/module_common.py index 5bbdcc7dc24..ec50ab40316 100644 --- a/lib/ansible/executor/module_common.py +++ b/lib/ansible/executor/module_common.py @@ -197,7 +197,7 @@ def debug(command, zipped_mod, json_params): f.close() print('Module expanded into:') - print('%%s' %% os.path.join(basedir, 'ansible')) + print('%%s' %% basedir) exitcode = 0 elif command == 'execute':