diff --git a/cloud/docker/docker_login.py b/cloud/docker/docker_login.py index a1b469aead1..cf8147c692b 100644 --- a/cloud/docker/docker_login.py +++ b/cloud/docker/docker_login.py @@ -244,4 +244,5 @@ def main(): # import module snippets from ansible.module_utils.basic import * -main() +if __name__ == '__main__': + main()