Undo an inadvertant revert from template changes so we still allow pythonic imports in module land.
This commit is contained in:
parent
be6e2c9097
commit
0e7069d7c1
2 changed files with 3 additions and 5 deletions
|
@ -48,7 +48,7 @@ def main():
|
||||||
result['ping'] = module.params['data']
|
result['ping'] = module.params['data']
|
||||||
module.exit_json(**result)
|
module.exit_json(**result)
|
||||||
|
|
||||||
# this is magic, see lib/ansible/module_common.py
|
from ansible.module_utils.basic import *
|
||||||
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
|
|
||||||
main()
|
main()
|
||||||
|
|
||||||
|
|
|
@ -1205,7 +1205,5 @@ def main():
|
||||||
|
|
||||||
module.exit_json(**result)
|
module.exit_json(**result)
|
||||||
|
|
||||||
# this is magic, see lib/ansible/module_common.py
|
from ansible.module_utils.basic import *
|
||||||
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
|
|
||||||
|
|
||||||
main()
|
main()
|
||||||
|
|
Loading…
Reference in a new issue