Update digital_ocean_droplet.py (#65251)

pull/67545/head
Robert Gabriel 4 years ago committed by GitHub
parent 704e7a5055
commit 13a949e345
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save