diff --git a/lib/ansible/module_utils/f5.py b/lib/ansible/module_utils/f5.py index 549422fb3fb..e2b79744a27 100644 --- a/lib/ansible/module_utils/f5.py +++ b/lib/ansible/module_utils/f5.py @@ -35,6 +35,16 @@ except ImportError: bigsuds_found = False +try: + from f5.bigip import ManagementRoot as BigIpMgmt + from f5.bigiq import ManagementRoot as BigIqMgmt + from f5.iworkflow import ManagementRoot as iWorkflowMgmt + from icontrol.session import iControlUnexpectedHTTPError + HAS_F5SDK = True +except ImportError: + HAS_F5SDK = False + + from ansible.module_utils.basic import env_fallback