sys.exit removal for cloud/google/gce_img.py and cloud/google/gce_tag.py
This commit is contained in:
parent
7cb0d86c27
commit
e99a202ac5
2 changed files with 0 additions and 2 deletions
|
@ -201,7 +201,6 @@ def main():
|
||||||
changed = delete_image(gce, name, module)
|
changed = delete_image(gce, name, module)
|
||||||
|
|
||||||
module.exit_json(changed=changed, name=name)
|
module.exit_json(changed=changed, name=name)
|
||||||
sys.exit(0)
|
|
||||||
|
|
||||||
# import module snippets
|
# import module snippets
|
||||||
from ansible.module_utils.basic import *
|
from ansible.module_utils.basic import *
|
||||||
|
|
|
@ -219,7 +219,6 @@ def main():
|
||||||
changed, tags_changed = remove_tags(gce, module, instance_name, tags)
|
changed, tags_changed = remove_tags(gce, module, instance_name, tags)
|
||||||
|
|
||||||
module.exit_json(changed=changed, instance_name=instance_name, tags=tags_changed, zone=zone)
|
module.exit_json(changed=changed, instance_name=instance_name, tags=tags_changed, zone=zone)
|
||||||
sys.exit(0)
|
|
||||||
|
|
||||||
# import module snippets
|
# import module snippets
|
||||||
from ansible.module_utils.basic import *
|
from ansible.module_utils.basic import *
|
||||||
|
|
Loading…
Reference in a new issue