Call main in conditional way - system

This commit is contained in:
Fabio Alessandro Locati
2016-12-05 17:04:51 +00:00
committed by Matt Clay
parent 4d2a3229d3
commit a6cd0272fb
4 changed files with 10 additions and 5 deletions

View File

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