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

Commit 1062857

Browse files
authored
fix(tasks): update rpm repository (#96)
1 parent 50592ff commit 1062857

File tree

3 files changed

+2
-17
lines changed

3 files changed

+2
-17
lines changed

tasks/install/yum.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,14 @@
22
#Main installation actions
33
#https://clickhouse.com/docs/en/getting-started/#installation
44

5-
- name: Install by YUM | Ensure clickhouse repo GPG key imported
6-
rpm_key:
7-
state: present
8-
key: "{{ clickhouse_repo_key }}"
9-
tags: [install]
10-
become: true
11-
125
- name: Install by YUM | Ensure clickhouse repo installed
136
yum_repository:
147
name: clickhouse
158
file: clickhouse
169
description: "Clickhouse repo"
1710
baseurl: "{{ clickhouse_repo }}"
11+
gpgcheck: no
1812
enabled: yes
19-
gpgcheck: 1
20-
gpgkey: "{{ clickhouse_repo_key }}"
2113
tags: [install]
2214
become: true
2315

tasks/remove/yum.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,3 @@
1515
file: clickhouse
1616
state: absent
1717
become: true
18-
19-
- name: Uninstall by YUM | Ensure clickhouse key uninstalled
20-
rpm_key:
21-
key: "{{ clickhouse_repo_key }}"
22-
state: absent
23-
become: true

vars/redhat.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
---
22
clickhouse_supported: yes
3-
clickhouse_repo: "https://repo.clickhouse.tech/rpm/stable/x86_64/"
4-
clickhouse_repo_key: https://repo.clickhouse.tech//CLICKHOUSE-KEY.GPG
3+
clickhouse_repo: "https://packages.clickhouse.com/rpm/clickhouse.repo"

0 commit comments

Comments
 (0)