From dcd7544b2673ae66c535272ff4556ca2ef7d6aa6 Mon Sep 17 00:00:00 2001 From: Ethan Devenport Date: Wed, 31 Aug 2016 07:46:12 +0000 Subject: [PATCH] Added parameter choices for bus. --- lib/ansible/modules/extras/cloud/profitbricks/profitbricks.py | 2 +- .../modules/extras/cloud/profitbricks/profitbricks_volume.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/extras/cloud/profitbricks/profitbricks.py b/lib/ansible/modules/extras/cloud/profitbricks/profitbricks.py index a0bc79c77f..7c9f23f6bb 100644 --- a/lib/ansible/modules/extras/cloud/profitbricks/profitbricks.py +++ b/lib/ansible/modules/extras/cloud/profitbricks/profitbricks.py @@ -588,7 +588,7 @@ def main(): disk_type=dict(choices=['HDD', 'SSD'], default='HDD'), image_password=dict(default=None), ssh_keys=dict(type='list', default=[]), - bus=dict(default='VIRTIO'), + bus=dict(choices=['VIRTIO', 'IDE'], default='VIRTIO'), lan=dict(type='int', default=1), count=dict(type='int', default=1), auto_increment=dict(type='bool', default=True), diff --git a/lib/ansible/modules/extras/cloud/profitbricks/profitbricks_volume.py b/lib/ansible/modules/extras/cloud/profitbricks/profitbricks_volume.py index 25b7f77181..1cee967675 100644 --- a/lib/ansible/modules/extras/cloud/profitbricks/profitbricks_volume.py +++ b/lib/ansible/modules/extras/cloud/profitbricks/profitbricks_volume.py @@ -365,7 +365,7 @@ def main(): server=dict(), name=dict(), size=dict(type='int', default=10), - bus=dict(default='VIRTIO'), + bus=dict(choices=['VIRTIO', 'IDE'], default='VIRTIO'), image=dict(), image_password=dict(default=None), ssh_keys=dict(type='list', default=[]),