diff --git a/plugins/lookup/tss.py b/plugins/lookup/tss.py index 095bad0342..3a54015e41 100644 --- a/plugins/lookup/tss.py +++ b/plugins/lookup/tss.py @@ -300,9 +300,8 @@ class TSSClient(object): i['itemValue'] = "*** Not Valid For Display ***" else: raise AnsibleOptionsError("File download path does not exist") - return obj - else: - return self._client.get_secret_json(secret_id) + + return self._client.get_secret_json(secret_id) def get_secret_ids_by_folderid(self, term): display.debug("tss_lookup term: %s" % term)