|
|
@ -27,32 +27,29 @@ options:
|
|
|
|
- API key of the CloudStack API.
|
|
|
|
- API key of the CloudStack API.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
aliases: []
|
|
|
|
|
|
|
|
api_secret:
|
|
|
|
api_secret:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Secret key of the CloudStack API.
|
|
|
|
- Secret key of the CloudStack API.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
aliases: []
|
|
|
|
|
|
|
|
api_url:
|
|
|
|
api_url:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- URL of the CloudStack API e.g. https://cloud.example.com/client/api.
|
|
|
|
- URL of the CloudStack API e.g. https://cloud.example.com/client/api.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
aliases: []
|
|
|
|
|
|
|
|
api_http_method:
|
|
|
|
api_http_method:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- HTTP method used.
|
|
|
|
- HTTP method used.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: 'get'
|
|
|
|
default: 'get'
|
|
|
|
aliases: []
|
|
|
|
choices: [ 'get', 'post' ]
|
|
|
|
requirements:
|
|
|
|
requirements:
|
|
|
|
- "python >= 2.6"
|
|
|
|
- "python >= 2.6"
|
|
|
|
- cs
|
|
|
|
- cs
|
|
|
|
notes:
|
|
|
|
notes:
|
|
|
|
- Ansible uses the C(cs) library's configuration method if credentials are not
|
|
|
|
- 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).
|
|
|
|
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
|
|
|
|
- The C(CLOUDSTACK_ENDPOINT), C(CLOUDSTACK_KEY), C(CLOUDSTACK_SECRET) and
|
|
|
|
C(CLOUDSTACK_METHOD) environment variables.
|
|
|
|
C(CLOUDSTACK_METHOD) environment variables.
|
|
|
|
- A C(CLOUDSTACK_CONFIG) environment variable pointing to an C(.ini) file,
|
|
|
|
- A C(CLOUDSTACK_CONFIG) environment variable pointing to an C(.ini) file,
|
|
|
|