From 0e7069d7c13ebb470b69f96c8065a1b13de1d808 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 31 Oct 2013 16:52:37 -0400 Subject: [PATCH] Undo an inadvertant revert from template changes so we still allow pythonic imports in module land. --- system/ping | 4 ++-- system/service | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) 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()