Make main() calls conditional - packaging (#3650)

This commit is contained in:
Fabio Alessandro Locati
2016-12-05 16:23:08 +00:00
committed by Matt Clay
parent 95be8b8276
commit 007abb5373
17 changed files with 41 additions and 18 deletions

View File

@@ -75,4 +75,6 @@ def main():
from ansible.module_utils.basic import *
main()
if __name__ == '__main__':
main()

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -167,4 +167,6 @@ def is_latest(module, package):
from ansible.module_utils.basic import *
main()
if __name__ == '__main__':
main()

View File

@@ -202,4 +202,6 @@ def unstringify(val):
from ansible.module_utils.basic import *
main()
if __name__ == '__main__':
main()

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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