This commit is contained in:
James Tanner 2013-10-30 10:50:16 -04:00
commit d154bf8781
11 changed files with 1244 additions and 1397 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()