Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 8e863e8

Browse files
Merge pull request #55 from vladget/master
Added "port" option with to "Check clickhouse server is ready" task
2 parents 74341eb + 8e5c338 commit 8e863e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
tags: [config,config_sys]
2525

2626
- name: Check clickhouse server is ready
27-
command: "clickhouse-client -h 127.0.0.1 -q 'select 1'"
27+
command: "clickhouse-client -h 127.0.0.1 --port {{ clickhouse_tcp_port }} -q 'select 1'"
2828
changed_when: False
2929
retries: "{{ clickhouse_ready_retries }}"
3030
delay: "{{ clickhouse_ready_delay }}"

0 commit comments

Comments
 (0)