From 2913d2b44d6131b62b01a6e0b59c5fb3883829c6 Mon Sep 17 00:00:00 2001 From: Rene Moser Date: Thu, 13 Aug 2015 23:00:46 +0200 Subject: [PATCH] cloudstack: add more common returns --- lib/ansible/module_utils/cloudstack.py | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/lib/ansible/module_utils/cloudstack.py b/lib/ansible/module_utils/cloudstack.py index 4a994434a4d..b330cb57921 100644 --- a/lib/ansible/module_utils/cloudstack.py +++ b/lib/ansible/module_utils/cloudstack.py @@ -48,14 +48,17 @@ class AnsibleCloudStack(object): # Common returns, will be merged with self.returns # search_for_key: replace_with_key self.common_returns = { - 'id': 'id', - 'name': 'name', - 'created': 'created', - 'zonename': 'zone', - 'state': 'state', - 'project': 'project', - 'account': 'account', - 'domain': 'domain', + 'id': 'id', + 'name': 'name', + 'created': 'created', + 'zonename': 'zone', + 'state': 'state', + 'project': 'project', + 'account': 'account', + 'domain': 'domain', + 'displaytext': 'displaytext', + 'displayname': 'displayname', + 'description': 'description', } # Init returns dict for use in subclasses