mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-18 14:51:09 +00:00
Make main() calls conditional - web_infrastructure (#3653)
This commit is contained in:
committed by
Matt Clay
parent
cbe3f4e5e1
commit
6f019c1066
@@ -221,4 +221,5 @@ def main():
|
||||
module.exit_json(**result)
|
||||
|
||||
|
||||
main()
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
@@ -147,4 +147,6 @@ def main():
|
||||
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
@@ -385,5 +385,5 @@ def main():
|
||||
module.exit_json(changed=True, meta=ret)
|
||||
|
||||
|
||||
|
||||
main()
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user