From 65e61e340a6ef42a1de4cf36fed1d94f69b059a9 Mon Sep 17 00:00:00 2001 From: Rene Moser Date: Thu, 31 Mar 2016 00:04:42 +0200 Subject: [PATCH] cloudstack: fix bug, api_secret always None In case if api args are used, api_secret is None in every cloudstack module. --- lib/ansible/module_utils/cloudstack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/cloudstack.py b/lib/ansible/module_utils/cloudstack.py index c27116c384a..af385ee3002 100644 --- a/lib/ansible/module_utils/cloudstack.py +++ b/lib/ansible/module_utils/cloudstack.py @@ -112,7 +112,7 @@ class AnsibleCloudStack(object): def _connect(self): api_key = self.module.params.get('api_key') - api_secret = self.module.params.get('secret_key') + api_secret = self.module.params.get('api_secret') api_url = self.module.params.get('api_url') api_http_method = self.module.params.get('api_http_method') api_timeout = self.module.params.get('api_timeout')