Call main in conditional way - cloud/rackspace
This commit is contained in:
parent
c8fd24ee04
commit
21bd86ef1d
20 changed files with 60 additions and 20 deletions
|
@ -890,4 +890,6 @@ from ansible.module_utils.basic import *
|
|||
from ansible.module_utils.rax import *
|
||||
|
||||
# invoke the module
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -233,4 +233,6 @@ from ansible.module_utils.basic import *
|
|||
from ansible.module_utils.rax import *
|
||||
|
||||
# invoke the module
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -218,4 +218,6 @@ from ansible.module_utils.basic import *
|
|||
from ansible.module_utils.rax import *
|
||||
|
||||
### invoke the module
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -258,4 +258,6 @@ from ansible.module_utils.basic import *
|
|||
from ansible.module_utils.rax import *
|
||||
|
||||
# invoke the module
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -172,4 +172,6 @@ from ansible.module_utils.basic import *
|
|||
from ansible.module_utils.rax import *
|
||||
|
||||
# invoke the module
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -217,4 +217,6 @@ from ansible.module_utils.basic import *
|
|||
from ansible.module_utils.rax import *
|
||||
|
||||
# invoke the module
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -305,4 +305,6 @@ from ansible.module_utils.basic import *
|
|||
from ansible.module_utils.rax import *
|
||||
|
||||
### invoke the module
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -278,4 +278,6 @@ from ansible.module_utils.basic import *
|
|||
from ansible.module_utils.rax import *
|
||||
|
||||
# invoke the module
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -170,4 +170,6 @@ from ansible.module_utils.basic import *
|
|||
from ansible.module_utils.rax import *
|
||||
|
||||
### invoke the module
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -345,4 +345,6 @@ from ansible.module_utils.basic import *
|
|||
from ansible.module_utils.rax import *
|
||||
|
||||
### invoke the module
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -143,4 +143,6 @@ from ansible.module_utils.basic import *
|
|||
from ansible.module_utils.rax import *
|
||||
|
||||
### invoke the module
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -389,4 +389,6 @@ def main():
|
|||
from ansible.module_utils.basic import *
|
||||
from ansible.module_utils.rax import *
|
||||
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -617,4 +617,6 @@ def main():
|
|||
from ansible.module_utils.basic import *
|
||||
from ansible.module_utils.rax import *
|
||||
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -106,4 +106,6 @@ from ansible.module_utils.basic import *
|
|||
from ansible.module_utils.rax import *
|
||||
|
||||
# invoke the module
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -171,4 +171,6 @@ from ansible.module_utils.basic import *
|
|||
from ansible.module_utils.rax import *
|
||||
|
||||
### invoke the module
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -175,4 +175,6 @@ from ansible.module_utils.basic import *
|
|||
from ansible.module_utils.rax import *
|
||||
|
||||
### invoke the module
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -143,4 +143,6 @@ from ansible.module_utils.basic import *
|
|||
from ansible.module_utils.rax import *
|
||||
|
||||
### invoke the module
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -144,4 +144,6 @@ from ansible.module_utils.basic import *
|
|||
from ansible.module_utils.rax import *
|
||||
|
||||
### invoke the module
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -426,4 +426,6 @@ from ansible.module_utils.basic import *
|
|||
from ansible.module_utils.rax import *
|
||||
|
||||
# invoke the module
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -280,4 +280,6 @@ from ansible.module_utils.basic import *
|
|||
from ansible.module_utils.rax import *
|
||||
|
||||
# invoke the module
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
Loading…
Reference in a new issue