Call main in conditional way - files (#5828)

This commit is contained in:
Fabio Alessandro Locati
2016-12-05 17:59:46 +00:00
committed by Matt Clay
parent 8855b3274c
commit 2e34bad425
3 changed files with 6 additions and 3 deletions

View File

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

View File

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

View File

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