|
|
@ -206,6 +206,9 @@ class ModuleManager(object):
|
|
|
|
self._wait_for_module_provisioning()
|
|
|
|
self._wait_for_module_provisioning()
|
|
|
|
break
|
|
|
|
break
|
|
|
|
except Exception as ex:
|
|
|
|
except Exception as ex:
|
|
|
|
|
|
|
|
if 'Failed to validate the SSL' in str(ex):
|
|
|
|
|
|
|
|
raise F5ModuleError(str(ex))
|
|
|
|
|
|
|
|
|
|
|
|
# The types of exception's we're handling here are "REST API is not
|
|
|
|
# The types of exception's we're handling here are "REST API is not
|
|
|
|
# ready" exceptions.
|
|
|
|
# ready" exceptions.
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -331,8 +334,9 @@ def main():
|
|
|
|
supports_check_mode=spec.supports_check_mode
|
|
|
|
supports_check_mode=spec.supports_check_mode
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
|
|
|
client = F5RestClient(**module.params)
|
|
|
|
client = F5RestClient(**module.params)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
mm = ModuleManager(module=module, client=client)
|
|
|
|
mm = ModuleManager(module=module, client=client)
|
|
|
|
results = mm.exec_module()
|
|
|
|
results = mm.exec_module()
|
|
|
|
exit_json(module, results, client)
|
|
|
|
exit_json(module, results, client)
|
|
|
|