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

Make main() calls conditional - network (#3649)

This commit is contained in:
Fabio Alessandro Locati 2016-12-05 16:22:51 +00:00 committed by Matt Clay
parent 9f7ad2ca3b
commit 95be8b8276
15 changed files with 39 additions and 16 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1190,4 +1190,5 @@ def main():
module.exit_json(**result)
main()
if __name__ == '__main__':
main()

View file

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

View file

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

View file

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

View file

@ -367,4 +367,5 @@ def main():
module.exit_json(ansible_facts=results)
main()
if __name__ == '__main__':
main()