diff --git a/system/ping b/system/ping index 69507111aec..ef76d39da2c 100644 --- a/system/ping +++ b/system/ping @@ -48,7 +48,7 @@ def main(): result['ping'] = module.params['data'] module.exit_json(**result) -# this is magic, see lib/ansible/module_common.py -#<> +from ansible.module_utils.basic import * + main() diff --git a/system/service b/system/service index fb9364c24f5..0173031c941 100644 --- a/system/service +++ b/system/service @@ -1205,7 +1205,5 @@ def main(): module.exit_json(**result) -# this is magic, see lib/ansible/module_common.py -#<> - +from ansible.module_utils.basic import * main()