This commit is contained in:
James Tanner 2013-10-30 10:50:16 -04:00
parent 3370aee870
commit 8036e6ee23
2 changed files with 4 additions and 10 deletions

View file

@ -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
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
main()

View file

@ -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
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
### invoke the module
main()