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

cloudstack: use CS_HYPERVISORS from cloudstack utils

This commit is contained in:
Rene Moser 2016-02-02 19:10:22 +01:00 committed by Matt Clay
parent 750f6f35ed
commit 51393a0e0f
2 changed files with 4 additions and 4 deletions

View file

@ -892,7 +892,7 @@ def main():
disk_size = dict(type='int', default=None), disk_size = dict(type='int', default=None),
root_disk_size = dict(type='int', default=None), root_disk_size = dict(type='int', default=None),
keyboard = dict(choices=['de', 'de-ch', 'es', 'fi', 'fr', 'fr-be', 'fr-ch', 'is', 'it', 'jp', 'nl-be', 'no', 'pt', 'uk', 'us'], default=None), keyboard = dict(choices=['de', 'de-ch', 'es', 'fi', 'fr', 'fr-be', 'fr-ch', 'is', 'it', 'jp', 'nl-be', 'no', 'pt', 'uk', 'us'], default=None),
hypervisor = dict(choices=['KVM', 'VMware', 'BareMetal', 'XenServer', 'LXC', 'HyperV', 'UCS', 'OVM', 'Simulator'], default=None), hypervisor = dict(choices=CS_HYPERVISORS, default=None),
security_groups = dict(type='list', aliases=[ 'security_group' ], default=[]), security_groups = dict(type='list', aliases=[ 'security_group' ], default=[]),
affinity_groups = dict(type='list', aliases=[ 'affinity_group' ], default=[]), affinity_groups = dict(type='list', aliases=[ 'affinity_group' ], default=[]),
domain = dict(default=None), domain = dict(default=None),

View file

@ -592,9 +592,9 @@ def main():
is_routing = dict(type='bool', choices=BOOLEANS, default=False), is_routing = dict(type='bool', choices=BOOLEANS, default=False),
checksum = dict(default=None), checksum = dict(default=None),
template_filter = dict(default='self', choices=['featured', 'self', 'selfexecutable', 'sharedexecutable', 'executable', 'community']), template_filter = dict(default='self', choices=['featured', 'self', 'selfexecutable', 'sharedexecutable', 'executable', 'community']),
hypervisor = dict(choices=['KVM', 'VMware', 'BareMetal', 'XenServer', 'LXC', 'HyperV', 'UCS', 'OVM', 'Simulator'], default=None), hypervisor = dict(choices=CS_HYPERVISORS, default=None),
requires_hvm = dict(type='bool', choices=BOOLEANS, default=False), requires_hvm = dict(type='bool', default=False),
password_enabled = dict(type='bool', choices=BOOLEANS, default=False), password_enabled = dict(type='bool', default=False),
template_tag = dict(default=None), template_tag = dict(default=None),
sshkey_enabled = dict(type='bool', choices=BOOLEANS, default=False), sshkey_enabled = dict(type='bool', choices=BOOLEANS, default=False),
format = dict(choices=['QCOW2', 'RAW', 'VHD', 'OVA'], default=None), format = dict(choices=['QCOW2', 'RAW', 'VHD', 'OVA'], default=None),