diff --git a/lib/ansible/modules/cloud/linode/linode.py b/lib/ansible/modules/cloud/linode/linode.py index 72a12aef8d9..3a3aa3eb0d0 100644 --- a/lib/ansible/modules/cloud/linode/linode.py +++ b/lib/ansible/modules/cloud/linode/linode.py @@ -144,7 +144,6 @@ options: requirements: - python >= 2.6 - linode-python - - pycurl author: - Vincent Viallet (@zbal) notes: @@ -248,12 +247,6 @@ EXAMPLES = ''' import os import time -try: - import pycurl - HAS_PYCURL = True -except ImportError: - HAS_PYCURL = False - try: from linode import api as linode_api HAS_LINODE = True @@ -319,7 +312,6 @@ def linodeServers(module, api, state, name, disks = [] configs = [] jobs = [] - disk_size = 0 # See if we can match an existing server details with the provided linode_id if linode_id: @@ -597,8 +589,6 @@ def main(): ), ) - if not HAS_PYCURL: - module.fail_json(msg='pycurl required for this module') if not HAS_LINODE: module.fail_json(msg='linode-python required for this module')