Skip to content

Commit

Permalink
Skip f5 tests if f5-sdk is not installed (ansible#27035)
Browse files Browse the repository at this point in the history
Fixes: bug ansible#27034

Introduced by ansible@278fa55
  • Loading branch information
fredericlepied authored and calfonso committed Jul 19, 2017
1 parent 09e9b4b commit 65d093d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
Empty file modified lib/ansible/modules/network/f5/bigip_monitor_tcp_half_open.py
100644 → 100755
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
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")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
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")

Expand Down

0 comments on commit 65d093d

Please sign in to comment.