Make main() calls conditional - database (#3659)

This commit is contained in:
Fabio Alessandro Locati 2016-12-05 16:19:27 +00:00 committed by Matt Clay
parent 103e3341f5
commit 06bf2e1e63
4 changed files with 11 additions and 4 deletions

View file

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

View file

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

View file

@ -189,5 +189,6 @@ def main():
# import module snippets
from ansible.module_utils.basic import *
from ansible.module_utils.pycompat24 import get_exception
main()
if __name__ == '__main__':
main()

View file

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