Issue #1161 DigitalOcean API 2 ssh_key_ids problem
* fix documentation: show a valid syntax * make ssh_key_ids a list and not a string
This commit is contained in:
parent
be89a2f5fc
commit
3c848289a0
1 changed files with 3 additions and 3 deletions
|
@ -59,7 +59,7 @@ options:
|
||||||
- This is the slug of the region you would like your server to be created in.
|
- This is the slug of the region you would like your server to be created in.
|
||||||
ssh_key_ids:
|
ssh_key_ids:
|
||||||
description:
|
description:
|
||||||
- Optional, array of of ssh_key_ids that you would like to be added to the server.
|
- Optional, array of of SSH key (numeric) ID that you would like to be added to the server.
|
||||||
virtio:
|
virtio:
|
||||||
description:
|
description:
|
||||||
- "Bool, turn on virtio driver in droplet for improved network and storage I/O."
|
- "Bool, turn on virtio driver in droplet for improved network and storage I/O."
|
||||||
|
@ -154,7 +154,7 @@ EXAMPLES = '''
|
||||||
|
|
||||||
- digital_ocean: >
|
- digital_ocean: >
|
||||||
state=present
|
state=present
|
||||||
ssh_key_ids=[id1,id2]
|
ssh_key_ids=123,456
|
||||||
name=mydroplet
|
name=mydroplet
|
||||||
api_token=XXX
|
api_token=XXX
|
||||||
size_id=2gb
|
size_id=2gb
|
||||||
|
@ -398,7 +398,7 @@ def main():
|
||||||
size_id = dict(),
|
size_id = dict(),
|
||||||
image_id = dict(),
|
image_id = dict(),
|
||||||
region_id = dict(),
|
region_id = dict(),
|
||||||
ssh_key_ids = dict(default=''),
|
ssh_key_ids = dict(type='list'),
|
||||||
virtio = dict(type='bool', default='yes'),
|
virtio = dict(type='bool', default='yes'),
|
||||||
private_networking = dict(type='bool', default='no'),
|
private_networking = dict(type='bool', default='no'),
|
||||||
backups_enabled = dict(type='bool', default='no'),
|
backups_enabled = dict(type='bool', default='no'),
|
||||||
|
|
Loading…
Reference in a new issue