Wrap main() in conditional
This commit is contained in:
parent
21425f36ef
commit
9c8891740c
1 changed files with 3 additions and 1 deletions
|
@ -163,4 +163,6 @@ def main():
|
|||
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
Loading…
Add table
Reference in a new issue