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

Commit bc78436

Browse files
Merge pull request #5 from agalitsyn/master
Do not hardcode keyserver and key
2 parents 923a59a + 9eecab1 commit bc78436

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

tasks/install_apt.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#Main installation actions
22
#https://clickhouse.yandex/docs/en/getting_started/index.html#installation
33

4-
- name: Install by APT | Apt-key add yandex repo key
4+
- name: Install by APT | Apt-key add repo key
55
apt_key:
6-
keyserver: keyserver.ubuntu.com
7-
id: E0C56BD4
6+
keyserver: "{{ clickhouse_repo_keyserver }}"
7+
id: "{{ clickhouse_repo_key }}"
88
become: true
99

1010
- name: Install by APT | Repo installation

tasks/remove_apt.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
state: absent
1616
become: true
1717

18-
- name: Uninstall by APT | Apt-key remove yandex repo key
18+
- name: Uninstall by APT | Apt-key remove repo key
1919
apt_key:
20-
keyserver: keyserver.ubuntu.com
21-
id: E0C56BD4
20+
keyserver: "{{ clickhouse_repo_keyserver }}"
21+
id: "{{ clickhouse_repo_key }}"
2222
state: absent
2323
become: true
2424

vars/Ubuntu_precise.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
clickhouse_supported: yes
2+
clickhouse_repo_keyserver: keyserver.ubuntu.com
3+
clickhouse_repo_key: E0C56BD4
24
clickhouse_repo: "deb http://repo.yandex.ru/clickhouse/precise stable main"
35
clickhouse_package:
46
- clickhouse-client

vars/Ubuntu_trusty.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
clickhouse_supported: yes
2+
clickhouse_repo_keyserver: keyserver.ubuntu.com
3+
clickhouse_repo_key: E0C56BD4
24
clickhouse_repo: "deb http://repo.yandex.ru/clickhouse/trusty stable main"
35
clickhouse_package:
46
- clickhouse-client

vars/Ubuntu_xenial.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
clickhouse_supported: yes
2+
clickhouse_repo_keyserver: keyserver.ubuntu.com
3+
clickhouse_repo_key: E0C56BD4
24
clickhouse_repo: "deb http://repo.yandex.ru/clickhouse/xenial stable main"
35
clickhouse_package:
46
- clickhouse-client

0 commit comments

Comments
 (0)