mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Call main in conditional way - system
This commit is contained in:
committed by
Matt Clay
parent
4d2a3229d3
commit
a6cd0272fb
@@ -771,5 +771,5 @@ def main():
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user