cloudstack: remove duplicate import cs handling, already in utils.

This commit is contained in:
Rene Moser 2016-06-08 15:35:36 +02:00 committed by Matt Clay
parent 0953ef753d
commit 29f803b16a
29 changed files with 0 additions and 264 deletions

View file

@ -160,12 +160,6 @@ account:
sample: admin
'''
try:
from cs import CloudStack, CloudStackException, read_config
has_lib_cs = True
except ImportError:
has_lib_cs = False
# import cloudstack common
from ansible.module_utils.cloudstack import *
@ -358,9 +352,6 @@ def main():
supports_check_mode=True
)
if not has_lib_cs:
module.fail_json(msg="python library cs required: pip install cs")
try:
acs_router = AnsibleCloudStackRouter(module)