Update digital_ocean_droplet.py (#65251)

This commit is contained in:
Robert Gabriel 2020-02-18 22:09:28 +02:00 committed by GitHub
parent 704e7a5055
commit 13a949e345
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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