mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Make main()
calls conditional - web_infrastructure (#3653)
This commit is contained in:
parent
cbe3f4e5e1
commit
6f019c1066
3 changed files with 7 additions and 4 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue