mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
digital_ocean doc update
This commit is contained in:
parent
bdbc963736
commit
848b38fc7f
1 changed files with 3 additions and 1 deletions
|
@ -59,7 +59,7 @@ options:
|
||||||
- Optional, comma separated list of ssh_key_ids that you would like to be added to the server
|
- Optional, comma separated list of ssh_key_ids that you would like to be added to the server
|
||||||
wait:
|
wait:
|
||||||
description:
|
description:
|
||||||
- Wait for the droplet to be in state 'running' before returning.
|
- Wait for the droplet to be in state 'running' before returning. If wait is "no" an ip_address may not be returned.
|
||||||
default: "yes"
|
default: "yes"
|
||||||
choices: [ "yes", "no" ]
|
choices: [ "yes", "no" ]
|
||||||
wait_timeout:
|
wait_timeout:
|
||||||
|
@ -101,6 +101,8 @@ EXAMPLES = '''
|
||||||
region_id=2
|
region_id=2
|
||||||
image_id=3
|
image_id=3
|
||||||
wait_timeout=500
|
wait_timeout=500
|
||||||
|
register: my_droplet
|
||||||
|
- debug: msg="ID: {{ my_droplet.droplet.id }} IP: {{ my_droplet.droplet.ip_address }}"
|
||||||
|
|
||||||
# Ensure a droplet is present
|
# Ensure a droplet is present
|
||||||
# If droplet id already exist, will return the droplet details and changed = False
|
# If droplet id already exist, will return the droplet details and changed = False
|
||||||
|
|
Loading…
Reference in a new issue