raiseerrors.AnsibleFileNotFound("module %s not found in configured module paths"%(module_name))
else:
raiseerrors.AnsibleFileNotFound("module %s not found in configured module paths. Additionally, core modules are missing. If this is a checkout, run 'git submodule update --init --recursive' to correct this problem."%(module_name))
# insert shared code and arguments into the module