mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
excommunicate fix
This commit is contained in:
parent
55bb24fb7d
commit
0031e08f7d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue