Make `main()` calls conditional - cloud (#3657)

pull/18777/head
Fabio Alessandro Locati 8 years ago committed by Matt Clay
parent 11e3ec26ea
commit afa6fa9a89

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

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

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

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

@ -529,4 +529,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()

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

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

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

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

@ -224,4 +224,5 @@ from ansible.module_utils.basic import *
from ansible.module_utils.rax import *
# Invoke the module.
main()
if __name__ == '__main__':
main()

@ -310,4 +310,5 @@ from ansible.module_utils.basic import *
from ansible.module_utils.rax import *
# Invoke the module.
main()
if __name__ == '__main__':
main()

@ -189,4 +189,5 @@ from ansible.module_utils.basic import *
from ansible.module_utils.rax import *
# Invoke the module.
main()
if __name__ == '__main__':
main()

@ -173,4 +173,5 @@ from ansible.module_utils.basic import *
from ansible.module_utils.rax import *
# Invoke the module.
main()
if __name__ == '__main__':
main()

@ -178,4 +178,5 @@ from ansible.module_utils.basic import *
from ansible.module_utils.rax import *
# Invoke the module.
main()
if __name__ == '__main__':
main()

@ -114,4 +114,6 @@ def main():
module.exit_json(ansible_facts=data)
from ansible.module_utils.basic import *
main()
if __name__ == '__main__':
main()

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

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

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

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

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

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

Loading…
Cancel
Save