diff --git a/system/ping b/system/ping index e0ff5f2bbad..69507111aec 100644 --- a/system/ping +++ b/system/ping @@ -48,9 +48,7 @@ def main(): result['ping'] = module.params['data'] module.exit_json(**result) -### boilerplate: import common module snippets here -from ansible.module_utils.basic import * - -### invoke the module +# this is magic, see lib/ansible/module_common.py +#<> main() diff --git a/system/service b/system/service index 63f681f6ace..fb9364c24f5 100644 --- a/system/service +++ b/system/service @@ -1205,11 +1205,7 @@ def main(): module.exit_json(**result) -### boilerplate: import common module snippets here -from ansible.module_utils.basic import * +# this is magic, see lib/ansible/module_common.py +#<> -### invoke the module main() - - -