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

Commit

Permalink
Merge pull request #55 from vladget/master
Browse files Browse the repository at this point in the history
Added "port" option with to "Check clickhouse server is ready" task
  • Loading branch information
AlexeySetevoi authored Jan 26, 2021
2 parents 74341eb + 8e5c338 commit 8e863e8
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 8e863e8

Please sign in to comment.