From 6c641fb6a87e24d4e6aa06181712a979435c1cce Mon Sep 17 00:00:00 2001 From: Rene Moser Date: Tue, 2 Feb 2016 18:57:45 +0100 Subject: [PATCH] cloudstack: add CS_HYPERVISORS constant --- lib/ansible/module_utils/cloudstack.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/ansible/module_utils/cloudstack.py b/lib/ansible/module_utils/cloudstack.py index d9b29fefe7a..c27116c384a 100644 --- a/lib/ansible/module_utils/cloudstack.py +++ b/lib/ansible/module_utils/cloudstack.py @@ -35,6 +35,18 @@ try: except ImportError: has_lib_cs = False +CS_HYPERVISORS = [ + "KVM", "kvm", + "VMware", "vmware", + "BareMetal", "baremetal", + "XenServer", "xenserver", + "LXC", "lxc", + "HyperV", "hyperv", + "UCS", "ucs", + "OVM", "ovm", + "Simulator", "simulator", + ] + def cs_argument_spec(): return dict( api_key = dict(default=None),