summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Moser <mail@renemoser.net>2016-03-31 00:04:42 +0200
committerRene Moser <mail@renemoser.net>2016-03-31 10:09:59 +0200
commit2f2e2c4611518822058500d18837266bcef8ca64 (patch)
tree1b668cd41f5e543b0c2dedd2447d78254dbefd37
parent5c7474d96ecae67b0a24cd792e0a8d61684fd0b0 (diff)
downloadansible-2f2e2c4611518822058500d18837266bcef8ca64.tar.gz
cloudstack: fix bug, api_secret always None
In case if api args are used, api_secret is None in every cloudstack module.
-rw-r--r--lib/ansible/module_utils/cloudstack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/module_utils/cloudstack.py b/lib/ansible/module_utils/cloudstack.py
index d9b29fefe7..a13b52cb0f 100644
--- a/lib/ansible/module_utils/cloudstack.py
+++ b/lib/ansible/module_utils/cloudstack.py
@@ -100,7 +100,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')