From 7bb9cd3766fcffa90dbd775c4530a6227679e357 Mon Sep 17 00:00:00 2001 From: Rene Moser Date: Sat, 30 May 2015 11:34:20 +0200 Subject: [PATCH] cloudstack: minor cleanup in doc fragments --- lib/ansible/utils/module_docs_fragments/cloudstack.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/ansible/utils/module_docs_fragments/cloudstack.py b/lib/ansible/utils/module_docs_fragments/cloudstack.py index 5a7411b199d..ebb6fdab2c4 100644 --- a/lib/ansible/utils/module_docs_fragments/cloudstack.py +++ b/lib/ansible/utils/module_docs_fragments/cloudstack.py @@ -27,32 +27,29 @@ options: - API key of the CloudStack API. required: false default: null - aliases: [] api_secret: description: - Secret key of the CloudStack API. required: false default: null - aliases: [] api_url: description: - URL of the CloudStack API e.g. https://cloud.example.com/client/api. required: false default: null - aliases: [] api_http_method: description: - HTTP method used. required: false default: 'get' - aliases: [] + choices: [ 'get', 'post' ] requirements: - "python >= 2.6" - cs notes: - Ansible uses the C(cs) library's configuration method if credentials are not provided by the options C(api_url), C(api_key), C(api_secret). - Configuration is read from several locations, in the following order":" + Configuration is read from several locations, in the following order. - The C(CLOUDSTACK_ENDPOINT), C(CLOUDSTACK_KEY), C(CLOUDSTACK_SECRET) and C(CLOUDSTACK_METHOD) environment variables. - A C(CLOUDSTACK_CONFIG) environment variable pointing to an C(.ini) file,