diff options
author | Martin Nečas <necas.marty@gmail.com> | 2019-10-14 13:16:34 +0200 |
---|---|---|
committer | ansibot <ansibot@users.noreply.github.com> | 2019-10-14 07:16:34 -0400 |
commit | aa0d4ef4abe61f0dbc8737b114768667633a7865 (patch) | |
tree | 831f58f2a546afcc14bd984ec5def9a3ba8d76ad | |
parent | 0ca682384db4f034249fc99ab70fd02aeaafcaeb (diff) | |
download | ansible-aa0d4ef4abe61f0dbc8737b114768667633a7865.tar.gz |
ovirt_template remove unnecessary ret (#63382)
-rw-r--r-- | lib/ansible/modules/cloud/ovirt/ovirt_template.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_template.py b/lib/ansible/modules/cloud/ovirt/ovirt_template.py index e2026362c2..eb62b316fa 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_template.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_template.py @@ -1025,11 +1025,6 @@ def main(): if template is None: raise TimeoutError("Image/template '%s' could not be imported. Try again with larger timeout." % template_name) ret = templates_module.create(result_state=otypes.TemplateStatus.OK) - ret = { - 'changed': True, - 'id': template.id, - 'template': get_dict_of_struct(template), - } elif state == 'registered': storage_domains_service = connection.system_service().storage_domains_service() # Find the storage domain with unregistered template: |