summaryrefslogtreecommitdiff
path: root/cloud/cloudstack/cs_ip_address.py
diff options
context:
space:
mode:
authorRene Moser <mail@renemoser.net>2016-06-08 15:35:36 +0200
committerRene Moser <mail@renemoser.net>2016-06-09 21:32:45 +0200
commitefcfe21732fbcb894f723e135411adf9fa831519 (patch)
treebf803e996322de3c488883d8d1d60ca4ca77d3b4 /cloud/cloudstack/cs_ip_address.py
parentff29da944ed05ce41a5b8bd81033387777e0bbc5 (diff)
downloadansible-modules-extras-efcfe21732fbcb894f723e135411adf9fa831519.tar.gz
cloudstack: remove duplicate import cs handling, already in utils.
Diffstat (limited to 'cloud/cloudstack/cs_ip_address.py')
-rw-r--r--cloud/cloudstack/cs_ip_address.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/cloud/cloudstack/cs_ip_address.py b/cloud/cloudstack/cs_ip_address.py
index 237a67fb..bb6344de 100644
--- a/cloud/cloudstack/cs_ip_address.py
+++ b/cloud/cloudstack/cs_ip_address.py
@@ -127,13 +127,6 @@ domain:
sample: example domain
'''
-
-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 *
@@ -252,9 +245,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_ip_address = AnsibleCloudStackIPAddress(module)