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

cloudstack: fix missing zone param used in get_vm() in utils

This commit is contained in:
Rene Moser 2015-04-27 00:05:41 +02:00 committed by Matt Clay
parent 5a2a5b16d5
commit b9b0c5c006

View file

@ -41,6 +41,11 @@ options:
- Snapshot memory if set to true. - Snapshot memory if set to true.
required: false required: false
default: false default: false
zone:
description:
- Name of the zone in which the VM is in. If not set, default zone is used.
required: false
default: null
project: project:
description: description:
- Name of the project the VM is assigned to. - Name of the project the VM is assigned to.
@ -241,6 +246,7 @@ def main():
vm = dict(required=True), vm = dict(required=True),
description = dict(default=None), description = dict(default=None),
project = dict(default=None), project = dict(default=None),
zone = dict(default=None),
snapshot_memory = dict(choices=BOOLEANS, default=False), snapshot_memory = dict(choices=BOOLEANS, default=False),
state = dict(choices=['present', 'absent', 'revert'], default='present'), state = dict(choices=['present', 'absent', 'revert'], default='present'),
poll_async = dict(choices=BOOLEANS, default=True), poll_async = dict(choices=BOOLEANS, default=True),