1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update module "imports" to new style

Fixes #1351
This commit is contained in:
Toshio Kuratomi 2015-05-18 11:59:20 -07:00 committed by Matt Clay
parent b13fd5ac9a
commit 7e5a4afb6b
3 changed files with 5 additions and 4 deletions

View file

@ -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()

View file

@ -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()

View file

@ -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()