Skip f5 tests if f5-sdk is not installed (#27035)
Fixes: bug #27034
Introduced by 278fa552f8
This commit is contained in:
parent
09e9b4b4ba
commit
65d093d9a7
3 changed files with 2 additions and 0 deletions
0
lib/ansible/modules/network/f5/bigip_monitor_tcp_half_open.py
Normal file → Executable file
0
lib/ansible/modules/network/f5/bigip_monitor_tcp_half_open.py
Normal file → Executable file
|
@ -45,6 +45,7 @@ except ImportError:
|
|||
from ansible.modules.network.f5.bigip_monitor_tcp_echo import Parameters
|
||||
from ansible.modules.network.f5.bigip_monitor_tcp_echo import ModuleManager
|
||||
from ansible.modules.network.f5.bigip_monitor_tcp_echo import ArgumentSpec
|
||||
from ansible.module_utils.f5_utils import iControlUnexpectedHTTPError
|
||||
except ImportError:
|
||||
raise SkipTest("F5 Ansible modules require the f5-sdk Python library")
|
||||
|
||||
|
|
|
@ -45,6 +45,7 @@ except ImportError:
|
|||
from ansible.modules.network.f5.bigip_monitor_tcp_half_open import Parameters
|
||||
from ansible.modules.network.f5.bigip_monitor_tcp_half_open import ModuleManager
|
||||
from ansible.modules.network.f5.bigip_monitor_tcp_half_open import ArgumentSpec
|
||||
from ansible.module_utils.f5_utils import iControlUnexpectedHTTPError
|
||||
except ImportError:
|
||||
raise SkipTest("F5 Ansible modules require the f5-sdk Python library")
|
||||
|
||||
|
|
Loading…
Reference in a new issue