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:
parent
e78ac2849f
commit
8b773e13ff
2 changed files with 9 additions and 0 deletions
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- digital_ocean_droplet - add support for new vpc_uuid parameter
|
|
@ -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'),
|
||||
|
|
Loading…
Reference in a new issue