From aa0d4ef4abe61f0dbc8737b114768667633a7865 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ne=C4=8Das?= Date: Mon, 14 Oct 2019 13:16:34 +0200 Subject: ovirt_template remove unnecessary ret (#63382) --- lib/ansible/modules/cloud/ovirt/ovirt_template.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/ansible/modules/cloud/ovirt') 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: -- cgit v1.2.1