Call main in conditional way - databases

This commit is contained in:
Fabio Alessandro Locati 2016-12-05 17:15:33 +00:00 committed by Matt Clay
parent 21bd86ef1d
commit 8855b3274c

View file

@ -657,4 +657,6 @@ def main():
# import module snippets # import module snippets
from ansible.module_utils.basic import * from ansible.module_utils.basic import *
from ansible.module_utils.database import * from ansible.module_utils.database import *
main()
if __name__ == '__main__':
main()