mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 20:01:25 -07:00
device path is optional for cbs
per https://developer.rackspace.com/docs/cloud-servers/v2/api-reference/svr-basic-operations/#post-attach-volume-to-server-servers-server-id-os-volume-attachments , device is "The name of the device, such as /dev/xvdb. Specify null for auto- assignment."
This commit is contained in:
parent
955f8923e7
commit
147b342553
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- The device path to attach the volume to, e.g. /dev/xvde
|
- The device path to attach the volume to, e.g. /dev/xvde
|
||||||
default: null
|
default: null
|
||||||
required: true
|
required: false
|
||||||
volume:
|
volume:
|
||||||
description:
|
description:
|
||||||
- Name or id of the volume to attach/detach
|
- Name or id of the volume to attach/detach
|
||||||
|
@ -189,7 +189,7 @@ def main():
|
||||||
argument_spec = rax_argument_spec()
|
argument_spec = rax_argument_spec()
|
||||||
argument_spec.update(
|
argument_spec.update(
|
||||||
dict(
|
dict(
|
||||||
device=dict(required=True),
|
device=dict(required=False),
|
||||||
volume=dict(required=True),
|
volume=dict(required=True),
|
||||||
server=dict(required=True),
|
server=dict(required=True),
|
||||||
state=dict(default='present', choices=['present', 'absent']),
|
state=dict(default='present', choices=['present', 'absent']),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue