Call main in conditional way - web_infrastructure
This commit is contained in:
parent
42a5b1977f
commit
4d2a3229d3
1 changed files with 2 additions and 1 deletions
|
@ -294,4 +294,5 @@ def main():
|
||||||
# import module snippets
|
# import module snippets
|
||||||
from ansible.module_utils.basic import *
|
from ansible.module_utils.basic import *
|
||||||
|
|
||||||
main()
|
if __name__ == '__main__':
|
||||||
|
main()
|
||||||
|
|
Loading…
Add table
Reference in a new issue