mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-21 15:54:07 +00:00
perf: Mongodb ping
This commit is contained in:
parent
27829e09ef
commit
64fe7a55ec
@ -54,3 +54,5 @@
|
|||||||
connection_options:
|
connection_options:
|
||||||
- tlsAllowInvalidHostnames: "{{ jms_asset.spec_info.allow_invalid_cert}}"
|
- tlsAllowInvalidHostnames: "{{ jms_asset.spec_info.allow_invalid_cert}}"
|
||||||
when: check_conn_after_change
|
when: check_conn_after_change
|
||||||
|
register: result
|
||||||
|
failed_when: not result.is_available
|
@ -54,3 +54,5 @@
|
|||||||
connection_options:
|
connection_options:
|
||||||
- tlsAllowInvalidHostnames: "{{ jms_asset.spec_info.allow_invalid_cert}}"
|
- tlsAllowInvalidHostnames: "{{ jms_asset.spec_info.allow_invalid_cert}}"
|
||||||
when: check_conn_after_change
|
when: check_conn_after_change
|
||||||
|
register: result
|
||||||
|
failed_when: not result.is_available
|
||||||
|
@ -16,3 +16,5 @@
|
|||||||
ssl_certfile: "{{ jms_asset.secret_info.client_key | default('') }}"
|
ssl_certfile: "{{ jms_asset.secret_info.client_key | default('') }}"
|
||||||
connection_options:
|
connection_options:
|
||||||
- tlsAllowInvalidHostnames: "{{ jms_asset.spec_info.allow_invalid_cert }}"
|
- tlsAllowInvalidHostnames: "{{ jms_asset.spec_info.allow_invalid_cert }}"
|
||||||
|
register: result
|
||||||
|
failed_when: not result.is_available
|
||||||
|
@ -17,3 +17,5 @@
|
|||||||
ssl_certfile: "{{ jms_asset.secret_info.client_key | default('') }}"
|
ssl_certfile: "{{ jms_asset.secret_info.client_key | default('') }}"
|
||||||
connection_options:
|
connection_options:
|
||||||
- tlsAllowInvalidHostnames: "{{ jms_asset.spec_info.allow_invalid_cert}}"
|
- tlsAllowInvalidHostnames: "{{ jms_asset.spec_info.allow_invalid_cert}}"
|
||||||
|
register: result
|
||||||
|
failed_when: not result.is_available
|
||||||
|
Loading…
Reference in New Issue
Block a user