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 - source_control (#3651)

This commit is contained in:
Fabio Alessandro Locati 2016-12-05 16:23:23 +00:00 committed by Matt Clay
parent 007abb5373
commit 45b31fa514
2 changed files with 5 additions and 2 deletions

View file

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

View file

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