Update module "imports" to new style

Fixes #1351
reviewable/pr18780/r1
Toshio Kuratomi 10 years ago
parent 627593b43a
commit 81b476cd02

@ -195,7 +195,7 @@ def main():
# this is magic, see lib/ansible/module_common.py # this is magic, see lib/ansible/module_common.py
#<<INCLUDE_ANSIBLE_MODULE_COMMON>> from ansible.module_utils.basic import *
if __name__ == '__main__': if __name__ == '__main__':
main() main()

@ -1321,6 +1321,6 @@ def main():
# this is magic, see lib/ansible/module_common.py # this is magic, see lib/ansible/module_common.py
#<<INCLUDE_ANSIBLE_MODULE_COMMON>> from ansible.module_utils.basic import *
if __name__ == '__main__': if __name__ == '__main__':
main() main()

@ -160,6 +160,7 @@ def main():
module.exit_json(changed=changed, msg=msg) module.exit_json(changed=changed, msg=msg)
# this is magic, see lib/ansible/module_common.py # this is magic, see lib/ansible/module_common.py
#<<INCLUDE_ANSIBLE_MODULE_COMMON>> from ansible.module_utils.basic import *
if __name__ == '__main__':
main() main()

Loading…
Cancel
Save