Call main in conditional way - files (#5828)

pull/18777/head
Fabio Alessandro Locati 8 years ago committed by Matt Clay
parent 8855b3274c
commit 2e34bad425

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

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

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

Loading…
Cancel
Save