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

Call main in conditional way - files (#5828)

This commit is contained in:
Fabio Alessandro Locati 2016-12-05 17:59:46 +00:00 committed by Matt Clay
parent 8855b3274c
commit 2e34bad425
3 changed files with 6 additions and 3 deletions

View file

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

View file

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

View file

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