mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fixes #581 - digitalocean module cannot create private_networking=true droplets
This commit is contained in:
parent
96a20de9ff
commit
e318ef2d70
1 changed files with 2 additions and 1 deletions
|
@ -236,7 +236,8 @@ class Droplet(JsonfyMixIn):
|
|||
|
||||
@classmethod
|
||||
def add(cls, name, size_id, image_id, region_id, ssh_key_ids=None, virtio=True, private_networking=False, backups_enabled=False):
|
||||
json = cls.manager.new_droplet(name, size_id, image_id, region_id, ssh_key_ids, virtio, private_networking, backups_enabled)
|
||||
private_networking_lower = str(private_networking).lower()
|
||||
json = cls.manager.new_droplet(name, size_id, image_id, region_id, ssh_key_ids, virtio, private_networking_lower, backups_enabled)
|
||||
droplet = cls(json)
|
||||
return droplet
|
||||
|
||||
|
|
Loading…
Reference in a new issue