diff --git a/README.md b/README.md index 8569212..d3a6ac2 100644 --- a/README.md +++ b/README.md @@ -170,7 +170,7 @@ F: Flag for remove clickhouse from host(disabled by default) clickhouse_remove: no ``` -F: You can manage [Kafka configuration](https://clickhouse.yandex/docs/en/operations/table_engines/kafka/#configuration) +F: You can manage [Kafka configuration](https://clickhouse.com/docs/en/engines/table-engines/integrations/kafka/#configuration) ```yaml # global configuration clickhouse_kafka_config: @@ -214,7 +214,7 @@ clickhouse_ldap_user_directories: prefix: "clickhouse_ ``` -F: You can manage Merge Tree config. For the list of available parameters, see [MergeTreeSettings.h](https://github.com/yandex/ClickHouse/blob/master/dbms/src/Storages/MergeTree/MergeTreeSettings.h). +F: You can manage Merge Tree config. For the list of available parameters, see [MergeTree tables settings](https://clickhouse.com/docs/en/operations/settings/merge-tree-settings/). ```yaml clickhouse_merge_tree_config: max_suspicious_broken_parts: 5 @@ -326,7 +326,7 @@ BSD Author Information ------------------ -[ClickHouse](https://clickhouse.yandex/docs/en/index.html) by [Yandex LLC](https://yandex.ru/company/). +[ClickHouse](https://clickhouse.com/docs/en/index.html) by [ClickHouse, Inc.](https://clickhouse.com/company/). Role by [AlexeySetevoi](https://github.com/AlexeySetevoi). diff --git a/meta/main.yml b/meta/main.yml index 1e2db55..b766c8f 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -2,7 +2,7 @@ galaxy_info: role_name: clickhouse namespace: alexeysetevoi author: Alexey V. Bobrov - description: Role for installation and managing Yandex.ClickHouse + description: Role for installation and managing ClickHouse license: MIT diff --git a/tasks/install/apt.yml b/tasks/install/apt.yml index 6f30f92..f9a4d5b 100644 --- a/tasks/install/apt.yml +++ b/tasks/install/apt.yml @@ -1,6 +1,6 @@ --- #Main installation actions -#https://clickhouse.yandex/docs/en/getting_started/index.html#installation +#https://clickhouse.com/docs/en/getting-started/#installation - name: Install by APT | Apt-key add repo key apt_key: diff --git a/tasks/install/dnf.yml b/tasks/install/dnf.yml index 360c6e7..ca0e2a3 100644 --- a/tasks/install/dnf.yml +++ b/tasks/install/dnf.yml @@ -1,6 +1,6 @@ --- #Main installation actions -#https://clickhouse.yandex/docs/en/getting_started/index.html#installation +#https://clickhouse.com/docs/en/getting-started/#installation - name: Install by YUM | Ensure clickhouse repo GPG key imported rpm_key: diff --git a/tasks/install/yum.yml b/tasks/install/yum.yml index 54dc635..6ca29f8 100644 --- a/tasks/install/yum.yml +++ b/tasks/install/yum.yml @@ -1,6 +1,6 @@ --- #Main installation actions -#https://clickhouse.yandex/docs/en/getting_started/index.html#installation +#https://clickhouse.com/docs/en/getting-started/#installation - name: Install by YUM | Ensure clickhouse repo GPG key imported rpm_key: diff --git a/tasks/remove/apt.yml b/tasks/remove/apt.yml index 6e70080..318915a 100644 --- a/tasks/remove/apt.yml +++ b/tasks/remove/apt.yml @@ -1,6 +1,6 @@ --- #Main installation actions -#https://clickhouse.yandex/docs/en/getting_started/index.html#installation +#https://clickhouse.com/docs/en/getting-started/#installation - name: Uninstall by APT | Package uninstallation apt: diff --git a/tasks/remove/dnf.yml b/tasks/remove/dnf.yml index 8ac57c1..8b24d55 100644 --- a/tasks/remove/dnf.yml +++ b/tasks/remove/dnf.yml @@ -1,6 +1,6 @@ --- #Main installation actions -#https://clickhouse.yandex/docs/en/getting_started/index.html#installation +#https://clickhouse.com/docs/en/getting-started/#installation - name: Uninstall by YUM | Ensure clickhouse package uninstalled dnf: diff --git a/tasks/remove/yum.yml b/tasks/remove/yum.yml index 43a43a6..58888fe 100644 --- a/tasks/remove/yum.yml +++ b/tasks/remove/yum.yml @@ -1,6 +1,6 @@ --- #Main installation actions -#https://clickhouse.yandex/docs/en/getting_started/index.html#installation +#https://clickhouse.com/docs/en/getting-started/#installation - name: Uninstall by YUM | Ensure clickhouse package uninstalled yum: diff --git a/templates/config.j2 b/templates/config.j2 index d92dbe1..82a089a 100644 --- a/templates/config.j2 +++ b/templates/config.j2 @@ -1,7 +1,7 @@ #jinja2: trim_blocks: True, lstrip_blocks: True {{ ansible_managed | comment('xml') }} - + {{ clickhouse_logger.level }} @@ -61,7 +61,7 @@ This setting could be used to switch replication to another network interface. --> {% if clickhouse_interserver_http_host is defined %} {{ clickhouse_interserver_http_host }} @@ -146,27 +146,26 @@ {{ clickhouse_mlock_status }} @@ -175,7 +174,7 @@ {{ clickhouse_config.builtin_dictionaries_reload_interval }} - + {{ clickhouse_config.dictionaries_lazy_load }} @@ -256,7 +255,7 @@ system query_log
@@ -302,7 +301,7 @@ *_dictionary.xml @@ -512,4 +511,4 @@ {% endif %} -
+ diff --git a/templates/dicts.j2 b/templates/dicts.j2 index 2d3a5dd..e6b5fb4 100644 --- a/templates/dicts.j2 +++ b/templates/dicts.j2 @@ -1,6 +1,6 @@ {{ ansible_managed | comment('xml') }} - + {% for dict in clickhouse_dicts %} {{ clickhouse_dicts[dict].name }} @@ -42,4 +42,4 @@ {% endfor %} - + diff --git a/templates/macros.j2 b/templates/macros.j2 index 49b5d1b..2e09d67 100644 --- a/templates/macros.j2 +++ b/templates/macros.j2 @@ -1,9 +1,9 @@ {{ ansible_managed | comment('xml') }} - + {% for key, value in clickhouse_macros.items() %} <{{ key }}>{{ value }} {% endfor %} - + diff --git a/templates/remote_servers.j2 b/templates/remote_servers.j2 index 38bf0a6..55b264c 100644 --- a/templates/remote_servers.j2 +++ b/templates/remote_servers.j2 @@ -1,6 +1,6 @@ {{ ansible_managed | comment('xml') }} - + {% for clusters_name, shards_name in clickhouse_clusters.items() | list %} <{{ clusters_name }}> @@ -18,4 +18,4 @@ {% endfor %} - \ No newline at end of file + diff --git a/templates/users.j2 b/templates/users.j2 index c8a609f..00ce471 100644 --- a/templates/users.j2 +++ b/templates/users.j2 @@ -1,6 +1,6 @@ {{ ansible_managed | comment('xml') }} - + @@ -121,4 +121,4 @@ {% endfor %} - + diff --git a/templates/zookeeper-servers.j2 b/templates/zookeeper-servers.j2 index 772af2d..16363d5 100644 --- a/templates/zookeeper-servers.j2 +++ b/templates/zookeeper-servers.j2 @@ -1,6 +1,6 @@ {{ ansible_managed | comment('xml') }} - + {% for server in clickhouse_zookeeper_nodes %} @@ -10,4 +10,4 @@ {% endfor %} - +