1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

digital_ocean_droplet: Add new vpc_uuid option (#475)

* Add vpc_uuid option to droplet creation

* Include new vpc_uuid option digital_ocean_droplet

* Remove required, add type for vpc_uuid

Co-authored-by: Felix Fontein <felix@fontein.de>

* Create changelog fragment file

* Include version_added

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Steven Michaels 2020-06-19 13:54:00 -05:00 committed by GitHub
parent e78ac2849f
commit 8b773e13ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- digital_ocean_droplet - add support for new vpc_uuid parameter

View file

@ -54,6 +54,12 @@ options:
- add an additional, private network interface to droplet for inter-droplet communication.
default: False
type: bool
vpc_uuid:
description:
- A string specifying the UUID of the VPC to which the Droplet will be assigned. If excluded, Droplet will be
assigned to the account's default VPC for the region.
type: str
version_added: 0.2.0
user_data:
description:
- opaque blob of data which is made available to the droplet
@ -317,6 +323,7 @@ def main():
region=dict(aliases=['region_id']),
ssh_keys=dict(type='list'),
private_networking=dict(type='bool', default=False),
vpc_uuid=dict(type='str'),
backups=dict(type='bool', default=False),
monitoring=dict(type='bool', default=False),
id=dict(aliases=['droplet_id'], type='int'),