cloudscale: combine docs in fragment (#52069)

* cloudscale: combine docs in fragment

* workaround false negative E305
This commit is contained in:
René Moser 2019-02-13 20:52:01 +01:00 committed by Alicia Cozine
parent 6c17c55b51
commit 02f51e865c
4 changed files with 28 additions and 39 deletions

View file

@ -19,15 +19,7 @@ module: cloudscale_volume
short_description: Manages volumes on the cloudscale.ch IaaS service
description:
- Create, attach/detach and delete volumes on the cloudscale.ch IaaS service.
- All operations are performed using the cloudscale.ch public API v1.
- "For details consult the full API documentation:
U(https://www.cloudscale.ch/en/api/v1)."
- A valid API token is required for all operations. You can create as many
tokens as you like using the cloudscale.ch control panel at
U(https://control.cloudscale.ch).
notes:
- Instead of the I(api_token) parameter the C(CLOUDSCALE_API_TOKEN) environment
variable can be used.
- To create a new volume at least the I(name) and I(size_gb) options
are required.
- A volume can be created and attached to a server in the same task.
@ -61,15 +53,7 @@ options:
detach the volume. Currently a volume can only be attached to a
single server.
aliases: [ server_uuid ]
api_token:
description:
- cloudscale.ch API token.
- This can also be passed in the C(CLOUDSCALE_API_TOKEN) environment
variable.
api_timeout:
description:
- Timeout in seconds for calls to the cloudscale.ch API.
default: 30
extends_documentation_fragment: cloudscale
'''
EXAMPLES = '''