1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Conditional main()

This is needed to allow the debugger work
This commit is contained in:
John Barker 2016-10-24 14:29:18 +01:00 committed by Matt Clay
parent be9fb2aa7d
commit 7b94e3de38
3 changed files with 5 additions and 3 deletions

View file

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

View file

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

View file

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