From 0031e08f7dba93f99ad82db2f4fe96ccc1818525 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Tue, 12 Apr 2016 09:12:58 -0700 Subject: [PATCH] excommunicate fix --- 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 e0a4e8abd9..c24c8a00da 100644 --- a/lib/ansible/executor/module_common.py +++ b/lib/ansible/executor/module_common.py @@ -180,7 +180,7 @@ def debug(command, zipped_mod, json_params): # ansible modules) sys.stdin = IOStream(json_params) sys.path.insert(0, basedir) - from ansible.module_exec.%(ansible_module)s.__main__ import main + from ansible_module_%(ansible_module)s import main main() print('WARNING: Module returned to wrapper instead of exiting') sys.exit(1)