From e99a202ac5540d7396b45d79e8e1309211fb5734 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Mon, 5 Oct 2015 13:23:00 -0500 Subject: [PATCH] sys.exit removal for cloud/google/gce_img.py and cloud/google/gce_tag.py --- lib/ansible/modules/extras/cloud/google/gce_img.py | 1 - lib/ansible/modules/extras/cloud/google/gce_tag.py | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/ansible/modules/extras/cloud/google/gce_img.py b/lib/ansible/modules/extras/cloud/google/gce_img.py index 5775a94794..a4a55c16de 100644 --- a/lib/ansible/modules/extras/cloud/google/gce_img.py +++ b/lib/ansible/modules/extras/cloud/google/gce_img.py @@ -201,7 +201,6 @@ def main(): changed = delete_image(gce, name, module) module.exit_json(changed=changed, name=name) - sys.exit(0) # import module snippets from ansible.module_utils.basic import * diff --git a/lib/ansible/modules/extras/cloud/google/gce_tag.py b/lib/ansible/modules/extras/cloud/google/gce_tag.py index 186f570b3f..4f60f58f76 100644 --- a/lib/ansible/modules/extras/cloud/google/gce_tag.py +++ b/lib/ansible/modules/extras/cloud/google/gce_tag.py @@ -219,7 +219,6 @@ def main(): changed, tags_changed = remove_tags(gce, module, instance_name, tags) module.exit_json(changed=changed, instance_name=instance_name, tags=tags_changed, zone=zone) - sys.exit(0) # import module snippets from ansible.module_utils.basic import *