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

Commit

Permalink
Added "port" option with to "Check clickhouse server is ready" task t…
Browse files Browse the repository at this point in the history
…o prevent task failing on configuration with non-standard tcp port
  • Loading branch information
vladget authored Jan 25, 2021
1 parent 74341eb commit 8e5c338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
tags: [config,config_sys]

- name: Check clickhouse server is ready
command: "clickhouse-client -h 127.0.0.1 -q 'select 1'"
command: "clickhouse-client -h 127.0.0.1 --port {{ clickhouse_tcp_port }} -q 'select 1'"
changed_when: False
retries: "{{ clickhouse_ready_retries }}"
delay: "{{ clickhouse_ready_delay }}"
Expand Down

0 comments on commit 8e5c338

Please sign in to comment.