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':