Update digital_ocean_droplet.py (#65251)
This commit is contained in:
parent
704e7a5055
commit
13a949e345
1 changed files with 12 additions and 1 deletions
|
@ -136,8 +136,19 @@ EXAMPLES = '''
|
|||
region: sfo1
|
||||
image: ubuntu-16-04-x64
|
||||
wait_timeout: 500
|
||||
'''
|
||||
|
||||
- name: ensure a droplet is present with SSH keys installed
|
||||
digital_ocean_droplet:
|
||||
state: present
|
||||
id: 123
|
||||
name: mydroplet
|
||||
oauth_token: XXX
|
||||
size: 2gb
|
||||
region: sfo1
|
||||
ssh_keys: ['1534404', '1784768']
|
||||
image: ubuntu-16-04-x64
|
||||
wait_timeout: 500
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
# Digital Ocean API info https://developers.digitalocean.com/documentation/v2/#droplets
|
||||
|
|
Loading…
Reference in a new issue