|
|
|
|
@ -43,6 +43,11 @@ options:
|
|
|
|
|
required: false
|
|
|
|
|
default: 'get'
|
|
|
|
|
choices: [ 'get', 'post' ]
|
|
|
|
|
api_timeout:
|
|
|
|
|
description:
|
|
|
|
|
- HTTP timeout.
|
|
|
|
|
required: false
|
|
|
|
|
default: 10
|
|
|
|
|
requirements:
|
|
|
|
|
- "python >= 2.6"
|
|
|
|
|
- cs
|
|
|
|
|
@ -51,7 +56,7 @@ notes:
|
|
|
|
|
provided by the options C(api_url), C(api_key), C(api_secret).
|
|
|
|
|
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.
|
|
|
|
|
C(CLOUDSTACK_METHOD). C(CLOUDSTACK_TIMEOUT) environment variables.
|
|
|
|
|
- A C(CLOUDSTACK_CONFIG) environment variable pointing to an C(.ini) file,
|
|
|
|
|
- A C(cloudstack.ini) file in the current working directory.
|
|
|
|
|
- A C(.cloudstack.ini) file in the users home directory.
|
|
|
|
|
|