Update module "imports" to new style

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

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

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

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

Loading…
Cancel
Save